]> git.mxchange.org Git - pizzaservice-war.git/blob - web/WEB-INF/templates/admin/cellphone/admin_cellphone_add_show.tpl
Continued with refacturing:
[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 not empty user}">
9                 <ui:include src="/WEB-INF/templates/admin/contact/admin_form_contact_cellphone.tpl">
10                         <ui:param name="contact" value="#{user.userContact}" />
11                 </ui:include>
12         </ui:fragment>
13
14         <ui:fragment rendered="#{not empty cellphoneNumber}">
15                 <ui:include src="/WEB-INF/templates/admin/cellphone/admin_cellphone_data.tpl">
16                         <ui:param name="cellphoneNumber" value="#{cellphoneNumber}" />
17                         <ui:param name="user" value="#{user}" />
18                 </ui:include>
19         </ui:fragment>
20 </ui:composition>