]> git.mxchange.org Git - pizzaservice-war.git/blob - web/WEB-INF/templates/admin/cellphone/admin_cellphone_add_show.tpl
854b15ecffbc64a5ede6ff7448b3bfced5fe1349
[pizzaservice-war.git] / web / WEB-INF / templates / admin / cellphone / admin_cellphone_add_show.tpl
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition
3         xmlns="http://www.w3.org/1999/xhtml"
4         xmlns:f="http://xmlns.jcp.org/jsf/core"
5         xmlns:h="http://xmlns.jcp.org/jsf/html"
6         xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
7
8         <ui:fragment rendered="#{empty cellphoneNumber and empty user}">
9                 <h:outputText styleClass="errors" value="#{msg.ERROR_PARAMETER_CELLPHONE_NUMBER_USER_NOT_SET}" />
10         </ui:fragment>
11
12         <ui:fragment rendered="#{empty cellphoneNumber and not empty user}">
13                 <ui:include src="/WEB-INF/templates/admin/contact/admin_form_contact_cellphone.tpl">
14                         <ui:param name="contact" value="#{user.userContact}" />
15                 </ui:include>
16         </ui:fragment>
17
18         <ui:fragment rendered="#{not empty cellphoneNumber}">
19                 <ui:include src="/WEB-INF/templates/admin/cellphone/admin_cellphone_data.tpl">
20                         <ui:param name="cellphoneNumber" value="#{cellphoneNumber}" />
21                         <ui:param name="user" value="#{user}" />
22                 </ui:include>
23         </ui:fragment>
24 </ui:composition>