]> git.mxchange.org Git - addressbook-war.git/blob - web/user/login_edit_user_data.xhtml
Updated copyright year
[addressbook-war.git] / web / user / login_edit_user_data.xhtml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition
3         template="/WEB-INF/templates/login/user/user_base.tpl"
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         xmlns:p="http://primefaces.org/ui"
9         >
10
11         <ui:define name="document_login_title">
12                 <h:outputText value="#{msg.PAGE_TITLE_LOGIN_EDIT_USER_DATA}" />
13         </ui:define>
14
15         <ui:define name="login_content_header">
16                 <h:outputText value="#{msg.CONTENT_TITLE_LOGIN_EDIT_USER_DATA}" />
17         </ui:define>
18
19         <ui:define name="content">
20                 <h:panelGroup styleClass="table" layout="block" rendered="#{userLoginController.isUserLoggedIn() and (not userLoginController.ifUserMustChangePassword() or not featureController.isFeatureEnabled('user_must_change_password'))}">
21                         <div class="table-header">
22                                 <h:outputText value="#{msg.LOGIN_EDIT_USER_DATA_TITLE}" />
23                         </div>
24
25                         <h:panelGroup styleClass="para notice" layout="block">
26                                 <h:outputText value="#{msg.LOGIN_CHOOSE_PERSONAL_DATA_EMAIL_PASSWORD_NOTICE}" />
27                         </h:panelGroup>
28
29                         <h:panelGroup styleClass="para" layout="block" rendered="#{featureController.isFeatureEnabled('edit_user_data')}">
30                                 <ul>
31                                         <ui:fragment rendered="#{not userLoginController.ifUserMustChangePassword() or not featureController.isFeatureEnabled('user_must_change_password')}">
32                                                 <li>
33                                                         <p:link
34                                                                 outcome="login_user_change_personal_data"
35                                                                 value="#{msg.LOGIN_LINK_USER_CHANGE_PERSONAL_DATA}"
36                                                                 title="#{msg.LOGIN_LINK_USER_CHANGE_PERSONAL_DATA_TITLE}"
37                                                                 />
38                                                 </li>
39                                         </ui:fragment>
40
41                                         <ui:fragment rendered="#{not userLoginController.ifUserMustChangePassword() or not featureController.isFeatureEnabled('user_must_change_password')}">
42                                                 <li>
43                                                         <p:link
44                                                                 outcome="login_user_change_email_address"
45                                                                 value="#{msg.LOGIN_LINK_USER_CHANGE_EMAIL_ADDRESS}"
46                                                                 title="#{msg.LOGIN_LINK_USER_CHANGE_EMAIL_ADDRESS_TITLE}"
47                                                                 />
48                                                 </li>
49                                         </ui:fragment>
50
51                                         <li>
52                                                 <p:link
53                                                         outcome="login_user_change_password"
54                                                         value="#{msg.LOGIN_LINK_USER_CHANGE_PASSWORD}"
55                                                         title="#{msg.LOGIN_LINK_USER_CHANGE_PASSWORD_TITLE}"
56                                                         />
57                                         </li>
58                                 </ul>
59                         </h:panelGroup>
60                 </h:panelGroup>
61
62                 <ui:fragment rendered="#{not userLoginController.isUserLoggedIn()}">
63                         <ui:include src="/WEB-INF/templates/user/user_not_logged_in.tpl" />
64                 </ui:fragment>
65         </ui:define>
66 </ui:composition>