]> git.mxchange.org Git - jjobs-war.git/blob - web/guest/user/user_list.xhtml
65ba73f29593e22fd1e59ad88be540c65889b827
[jjobs-war.git] / web / guest / user / user_list.xhtml
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html
3         lang="#{localizationController.language}" xml:lang="#{localizationController.language}"
4         xmlns="http://www.w3.org/1999/xhtml"
5           xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
6           xmlns:h="http://xmlns.jcp.org/jsf/html"
7           xmlns:f="http://xmlns.jcp.org/jsf/core">
8
9         <ui:composition template="/WEB-INF/templates/#{userLoginController.baseTemplatePathName}_base.tpl">
10                 <ui:define name="login_title">#{msg.PAGE_TITLE_USER_LIST}</ui:define>
11
12                 <ui:define name="content_header">
13                         #{msg.CONTENT_TITLE_USER_LIST}
14                 </ui:define>
15
16                 <ui:define name="content">
17                         <h:panelGroup styleClass="table_full" layout="block" rendered="#{featureController.isFeatureEnabled('user_list')}">
18                                 <div class="table_header">
19                                         <h:outputText value="#{msg.TABLE_HEADER_USER_LIST}" />
20                                 </div>
21
22                                 <h:dataTable id="userList" var="user" value="#{userController.allVisibleUsers()}" headerClass="table_header_column25" summary="#{msg.TABLE_SUMMARY_USER_LIST}" rendered="#{userController.isVisibleUserFound()}">
23                                         <h:column>
24                                                 <f:facet name="header">#{msg.USER_NAME}</f:facet>
25                                                 <ui:include src="/WEB-INF/templates/user/user_profile_link.tpl">
26                                                         <ui:param name="user" value="#{user}" />
27                                                 </ui:include>
28                                         </h:column>
29
30                                         <h:column>
31                                                 <f:facet name="header">#{msg.USER_CREATED}</f:facet>
32                                                 <h:outputFormat id="userCreated" value="#{user.userCreated.time}" title="#{msg.USER_CREATED_TITLE}" />
33                                         </h:column>
34                                 </h:dataTable>
35                         </h:panelGroup>>
36
37                         <h:outputText styleClass="errors" value="#{msg.ERROR_USER_LIST_DISABLED}" rendered="#{featureController.isFeatureEnabled('user_list')}" />
38                 </ui:define>
39         </ui:composition>
40 </html>