]> git.mxchange.org Git - pizzaservice-war.git/blob - web/WEB-INF/templates/admin/cellphone/admin_cellphone_links.tpl
Added page (dummy) for editing contact data
[pizzaservice-war.git] / web / WEB-INF / templates / admin / cellphone / admin_cellphone_links.tpl
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition
3         xmlns="http://www.w3.org/1999/xhtml"
4         xmlns:f="http://java.sun.com/jsf/core"
5         xmlns:h="http://java.sun.com/jsf/html"
6         xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
7
8         <h:outputText styleClass="errors" value="#{ERROR_PARAMETER_CELLPHONE_NUMBER_NOT_SET}" rendered="#{empty cellphoneNumber}" />
9
10         <ui:fragment id="cellphoneLinks" rendered="#{not empty cellphoneNumber}">
11                 <ul class="mini_nav">
12                         <ui:fragment rendered="#{empty isShowPage or not isShowPage}">
13                                 <li class="mini_link">
14                                         <h:link outcome="admin_show_contact_cellphone">
15                                                 <h:outputText value="#{msg.ADMIN_LINK_SHOW_SHORT}" title="#{msg.ADMIN_LINK_SHOW_SHORT_TITLE}" />
16                                                 <f:param name="phoneId" value="#{cellphoneNumber.phoneId}" />
17                                         </h:link>
18                                 </li>
19                         </ui:fragment>
20
21                         <li class="mini_link">
22                                 <h:link outcome="admin_edit_contact_cellphone">
23                                         <h:outputText value="#{msg.ADMIN_LINK_EDIT_SHORT}" title="#{msg.ADMIN_LINK_EDIT_SHORT_TITLE}" />
24                                         <f:param name="phoneId" value="#{cellphoneNumber.phoneId}" />
25                                 </h:link>
26                         </li>
27
28                         <ui:fragment rendered="#{not empty contact}">
29                                 <li class="mini_link">
30                                         <h:link outcome="admin_unlink_contact_cellphone">
31                                                 <h:outputText styleClass="unlink_link" value="#{msg.ADMIN_LINK_UNLINK_SHORT}" title="#{msg.ADMIN_LINK_UNLINK_SHORT_TITLE}" />
32                                                 <f:param name="phoneId" value="#{cellphoneNumber.phoneId}" />
33                                                 <f:param name="contactId" value="#{contact.contactId}" />
34                                         </h:link>
35                                 </li>
36                         </ui:fragment>
37
38                         <li class="mini_link">
39                                 <h:link outcome="admin_delete_contact_cellphone">
40                                         <h:outputText styleClass="delete_link" value="#{msg.ADMIN_LINK_DELETE_SHORT}" title="#{msg.ADMIN_LINK_DELETE_SHORT_TITLE}" />
41                                         <f:param name="phoneId" value="#{cellphoneNumber.phoneId}" />
42                                 </h:link>
43                         </li>
44                 </ul>
45         </ui:fragment>
46 </ui:composition>