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