xmlns:f="http://xmlns.jcp.org/jsf/core">
<ui:composition template="/WEB-INF/templates/#{userLoginController.baseTemplatePathName}_base.tpl">
- <ui:define name="login_title">#{msg.PAGE_TITLE_USER_LIST}</ui:define>
+ <ui:define name="login_title">
+ <h:outputText value="#{msg.PAGE_TITLE_USER_LIST}" />
+ </ui:define>
<ui:define name="content_header">
- #{msg.CONTENT_TITLE_USER_LIST}
+ <h:outputText value="#{msg.CONTENT_TITLE_USER_LIST}" />
</ui:define>
<ui:define name="content">
- <h:panelGroup styleClass="table_big" layout="block" rendered="#{featureController.isFeatureEnabled('user_list')}">
+ <h:panelGroup styleClass="table_full" layout="block" rendered="#{featureController.isFeatureEnabled('user_list')}">
<div class="table_header">
<h:outputText value="#{msg.TABLE_HEADER_USER_LIST}" />
</div>
</h:dataTable>
</h:panelGroup>>
- <h:outputText styleClass="errors" value="#{msg.ERROR_USER_LIST_DISABLED}" rendered="#{featureController.isFeatureEnabled('user_list')}" />
+ <ui:fragment rendered="#{not featureController.isFeatureEnabled('user_list')}">
+ <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
+ <ui:param name="message" value="#{msg.ERROR_USER_LIST_DISABLED}" />
+ <ui:param name="styleClass" value="errors" />
+ </ui:include>
+ </ui:fragment>
</ui:define>
</ui:composition>
</html>