]> git.mxchange.org Git - jjobs-war.git/blob - web/guest/user/user_list.xhtml
added missing language i18n strings + show logout form only to logged-in users ...
[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.templateType}/#{userLoginController.templateType}_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                         <ui:fragment rendered="#{featureController.isFeatureEnabled('user_list')}">
18                                 <div class="table_big">
19                                         <div class="table_header">
20                                                 <h:outputText value="#{msg.TABLE_HEADER_USER_LIST}" />
21                                         </div>
22
23                                         <h:dataTable id="userList" var="user" value="#{userController.allVisibleUsers()}" headerClass="table_header_column25" summary="#{msg.TABLE_SUMMARY_USER_LIST}" rendered="#{userController.isVisibleUserFound()}">
24                                                 <h:column>
25                                                         <f:facet name="header">#{msg.USER_NAME}</f:facet>
26                                                         <ui:include src="/WEB-INF/templates/user/user_profile_link.tpl">
27                                                                 <ui:param name="user" value="#{user}" />
28                                                         </ui:include>
29                                                 </h:column>
30
31                                                 <h:column>
32                                                         <f:facet name="header">#{msg.USER_CREATED}</f:facet>
33                                                         <h:outputFormat id="userCreated" value="#{user.userCreated.time}" title="#{msg.USER_CREATED_TITLE}" />
34                                                 </h:column>
35                                         </h:dataTable>
36                                 </div>
37
38                         <h:outputText styleClass="errors" value="#{msg.ERROR_USER_LIST_DISABLED}" rendered="#{featureController.isFeatureEnabled('user_list')}" />
39                 </ui:define>
40         </ui:composition>
41 </html>