]> git.mxchange.org Git - jjobs-war.git/blob - web/user/login_edit_user_data.xhtml
Please cherry-pick:
[jjobs-war.git] / web / user / login_edit_user_data.xhtml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition template="/WEB-INF/templates/login/user/user_base.tpl"
3                                 xmlns="http://www.w3.org/1999/xhtml"
4                                 xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
5                                 xmlns:h="http://xmlns.jcp.org/jsf/html"
6                                 xmlns:f="http://xmlns.jcp.org/jsf/core">
7
8         <ui:define name="login_title">
9                 <h:outputText value="#{msg.PAGE_TITLE_LOGIN_EDIT_USER_DATA}" />
10         </ui:define>
11
12         <ui:define name="content_header">
13                 <h:outputText value="#{msg.CONTENT_TITLE_LOGIN_EDIT_USER_DATA}" />
14         </ui:define>
15
16         <ui:define name="content">
17                 <h:panelGroup styleClass="table" layout="block" rendered="#{userLoginController.isUserLoggedIn() and (not userLoginController.ifUserMustChangePassword() or not featureController.isFeatureEnabled('user_must_change_password'))}">
18                         <div class="table-header">
19                                 <h:outputText value="#{msg.LOGIN_EDIT_USER_DATA_TITLE}" />
20                         </div>
21
22                         <h:panelGroup styleClass="para notice" layout="block">
23                                 <h:outputText value="#{msg.LOGIN_CHOOSE_PERSONAL_DATA_EMAIL_PASSWORD_NOTICE}" />
24                         </h:panelGroup>
25
26                         <h:panelGroup styleClass="para" layout="block" rendered="#{featureController.isFeatureEnabled('edit_user_data')}">
27                                 <ul>
28                                         <ui:fragment rendered="#{not userLoginController.ifUserMustChangePassword() or not featureController.isFeatureEnabled('user_must_change_password')}">
29                                                 <li>
30                                                         <h:link title="#{msg.LINK_LOGIN_USER_CHANGE_PERSONAL_DATA_TITLE}" outcome="login_user_change_personal_data" value="#{msg.LINK_LOGIN_USER_CHANGE_PERSONAL_DATA}" />
31                                                 </li>
32                                         </ui:fragment>
33
34                                         <ui:fragment rendered="#{not userLoginController.ifUserMustChangePassword() or not featureController.isFeatureEnabled('user_must_change_password')}">
35                                                 <li>
36                                                         <h:link title="#{msg.LINK_LOGIN_USER_CHANGE_EMAIL_ADDRESS_TITLE}" outcome="login_user_change_email_address" value="#{msg.LINK_LOGIN_USER_CHANGE_EMAIL_ADDRESS}" />
37                                                 </li>
38                                         </ui:fragment>
39
40                                         <li>
41                                                 <h:link title="#{msg.LINK_LOGIN_USER_CHANGE_PASSWORD_TITLE}" outcome="login_user_change_password" value="#{msg.LINK_LOGIN_USER_CHANGE_PASSWORD}" />
42                                         </li>
43                                 </ul>
44                         </h:panelGroup>
45                 </h:panelGroup>
46
47                 <ui:fragment rendered="#{not userLoginController.isUserLoggedIn()}">
48                         <ui:include src="/WEB-INF/templates/user/user_not_logged_in.tpl" />
49                 </ui:fragment>
50         </ui:define>
51 </ui:composition>