]> git.mxchange.org Git - jjobs-war.git/blob - web/user/login_edit_user_data.xhtml
Continued with switching vanilla HTML -> JSF2.0 tags: (please cherry-pick)
[jjobs-war.git] / web / user / login_edit_user_data.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
10         <ui:composition template="/WEB-INF/templates/login/user/user_base.tpl">
11                 <ui:define name="login_title">#{msg.PAGE_TITLE_LOGIN_EDIT_USER_DATA}</ui:define>
12
13                 <ui:define name="content_header">
14                         #{msg.CONTENT_TITLE_LOGIN_EDIT_USER_DATA}
15                 </ui:define>
16
17                 <ui:define name="content">
18                         <h:panelGroup styleClass="table" layout="block" rendered="#{userLoginController.isUserLoggedIn() and (not userLoginController.ifUserMustChangePassword() or not featureController.isFeatureEnabled('user_must_change_password'))}">
19                                 <div class="table_header">
20                                         <h:outputText value="#{msg.LOGIN_EDIT_USER_DATA_TITLE}" />
21                                 </div>
22
23                                 <div class="para notice">
24                                         <h:outputText value="#{msg.LOGIN_CHOOSE_PERSONAL_DATA_EMAIL_PASSWORD_NOTICE}" />
25                                 </div>
26
27                                 <div class="para">
28                                         <ul>
29                                                 <ui:fragment rendered="#{featureController.isFeatureEnabled('edit_user_data') and (not userLoginController.ifUserMustChangePassword() or not featureController.isFeatureEnabled('user_must_change_password'))}">
30                                                         <li>
31                                                                 <h:link title="#{msg.LINK_LOGIN_CHANGE_PERSONAL_DATA_TITLE}" outcome="login_change_personal_data" value="#{msg.LINK_LOGIN_CHANGE_PERSONAL_DATA}" />
32                                                         </li>
33                                                 </ui:fragment>
34
35                                                 <ui:fragment rendered="#{featureController.isFeatureEnabled('edit_user_data') and (not userLoginController.ifUserMustChangePassword() or not featureController.isFeatureEnabled('user_must_change_password'))}">
36                                                         <li>
37                                                                 <h:link title="#{msg.LINK_LOGIN_CHANGE_EMAIL_ADDRESS_TITLE}" outcome="login_change_email_address" value="#{msg.LINK_LOGIN_CHANGE_EMAIL_ADDRESS}" />
38                                                         </li>
39                                                 </ui:fragment>
40
41                                                 <ui:fragment rendered="#{featureController.isFeatureEnabled('edit_user_data')}">
42                                                         <li>
43                                                                 <h:link title="#{msg.LINK_LOGIN_CHANGE_PASSWORD_TITLE}" outcome="login_change_password" value="#{msg.LINK_LOGIN_CHANGE_PASSWORD}" />
44                                                         </li>
45                                                 </ui:fragment>
46                                         </ul>
47                                 </div>
48                         </h:panelGroup>
49
50                         <ui:fragment rendered="#{not userLoginController.isUserLoggedIn()}">
51                                 <ui:include src="/WEB-INF/templates/user/user_not_logged_in.tpl" />
52                         </ui:fragment>
53                 </ui:define>
54         </ui:composition>
55 </html>