]> git.mxchange.org Git - pizzaservice-war.git/blob - web/user/login_user_contact_data_saved.xhtml
Please cherry-pick:
[pizzaservice-war.git] / web / user / login_user_contact_data_saved.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">
12                         <h:outputText value="#{msg.PAGE_TITLE_USER_LOGIN_CONTACT_DATA_SAVED}" />
13                 </ui:define>
14
15                 <ui:define name="content_header">
16                         <h:outputText value="#{msg.CONTENT_TITLE_LOGIN_CONTACT_DATA_SAVED}" />
17                 </ui:define>
18
19                 <ui:define name="content">
20                         <ui:fragment rendered="#{userLoginController.isUserLoggedIn() and featureController.isFeatureEnabled('change_user_personal_data') and (not userLoginController.ifUserMustChangePassword() or not featureController.isFeatureEnabled('user_must_change_password'))}">
21                                 <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
22                                         <ui:param name="message" value="#{msg.LOGIN_MESSAGE_DATA_SAVED}" />
23                                 </ui:include>
24                         </ui:fragment>
25
26                         <ui:fragment rendered="#{userLoginController.ifUserMustChangePassword()}">
27                                 <h:link outcome="user_change_password" value="#{msg.USER_LOGIN_MUST_CHANGE_PASSWORD}" />
28                         </ui:fragment>
29
30                         <ui:fragment rendered="#{not featureController.isFeatureEnabled('change_user_personal_data')}">
31                                 <ui:include src="/WEB-INF/templates/generic/message_box.tpl">
32                                         <ui:param name="message" value="#{msg.ERROR_LOGIN_USER_EDIT_DATA_DISABLED}" />
33                                         <ui:param name="styleClass" value="errors" />
34                                 </ui:include>
35                         </ui:fragment>
36
37                         <ui:fragment rendered="#{not userLoginController.isUserLoggedIn()}">
38                                 <ui:include src="/WEB-INF/templates/user/user_not_logged_in.tpl" />
39                         </ui:fragment>
40                 </ui:define>
41         </ui:composition>
42 </html>