]> git.mxchange.org Git - jjobs-war.git/blob - web/guest/user/user_list.xhtml
Please cherry-pick:
[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">
11                         <h:outputText value="#{msg.PAGE_TITLE_USER_LIST}" />
12                 </ui:define>
13
14                 <ui:define name="content_header">
15                         <h:outputText value="#{msg.CONTENT_TITLE_USER_LIST}" />
16                 </ui:define>
17
18                 <ui:define name="content">
19                         <h:panelGroup styleClass="table_full" layout="block" rendered="#{featureController.isFeatureEnabled('user_list')}">
20                                 <div class="table_header">
21                                         <h:outputText value="#{msg.TABLE_HEADER_USER_LIST}" />
22                                 </div>
23
24                                 <h:dataTable id="userList" var="user" value="#{userController.allVisibleUsers()}" headerClass="table_header_column25" summary="#{msg.TABLE_SUMMARY_USER_LIST}" rendered="#{userController.isVisibleUserFound()}">
25                                         <h:column>
26                                                 <f:facet name="header">#{msg.USER_NAME}</f:facet>
27                                                 <ui:include src="/WEB-INF/templates/user/user_profile_link.tpl">
28                                                         <ui:param name="user" value="#{user}" />
29                                                 </ui:include>
30                                         </h:column>
31
32                                         <h:column>
33                                                 <f:facet name="header">#{msg.USER_CREATED}</f:facet>
34                                                 <h:outputFormat id="userCreated" value="#{user.userCreated.time}" title="#{msg.USER_CREATED_TITLE}" />
35                                         </h:column>
36                                 </h:dataTable>
37                         </h:panelGroup>>
38
39                         <h:outputText styleClass="errors" value="#{msg.ERROR_USER_LIST_DISABLED}" rendered="#{featureController.isFeatureEnabled('user_list')}" />
40                 </ui:define>
41         </ui:composition>
42 </html>