]> git.mxchange.org Git - pizzaservice-war.git/blob - web/WEB-INF/templates/admin/landline/admin_landline_links.tpl
MOJARRA - Please cherry-pick:
[pizzaservice-war.git] / web / WEB-INF / templates / admin / landline / admin_landline_links.tpl
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <ui:composition
3         xmlns="http://www.w3.org/1999/xhtml"
4         xmlns:generic="http://mxchange.org/jsf/core"
5         xmlns:f="http://java.sun.com/jsf/core"
6         xmlns:h="http://java.sun.com/jsf/html"
7         xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
8
9         <generic:outputMessageBox message="#{msg.ERROR_BEAN_HELPER_LAND_LINE_NUMBER_NOT_SET}" styleClass="errors" rendered="#{empty beanHelper.landLineNumber}" />
10
11         <ui:fragment rendered="#{not empty beanHelper.landLineNumber}">
12                 <ul class="mini_nav">
13                         <ui:fragment rendered="#{empty isShowPage or not isShowPage}">
14                                 <li class="mini_link">
15                                         <h:link outcome="admin_show_landline" value="#{msg.ADMIN_LINK_SHOW_SHORT}" title="#{msg.ADMIN_LINK_SHOW_SHORT_TITLE}">
16                                                 <f:param name="phoneId" value="#{beanHelper.landLineNumber.phoneId}" />
17                                         </h:link>
18                                 </li>
19                         </ui:fragment>
20
21                         <li class="mini_link">
22                                 <h:link outcome="admin_edit_landline" value="#{msg.ADMIN_LINK_EDIT_SHORT}" title="#{msg.ADMIN_LINK_EDIT_SHORT_TITLE}">
23                                         <f:param name="phoneId" value="#{beanHelper.landLineNumber.phoneId}" />
24                                 </h:link>
25                         </li>
26
27                         <ui:fragment rendered="#{not empty beanHelper.contact}">
28                                 <li class="mini_link">
29                                         <h:link outcome="admin_unlink_contact_landline">
30                                                 <h:outputText styleClass="unlink_link" value="#{msg.ADMIN_LINK_UNLINK_SHORT}" title="#{msg.ADMIN_LINK_UNLINK_SHORT_TITLE}" />
31                                                 <f:param name="phoneId" value="#{beanHelper.landLineNumber.phoneId}" />
32                                                 <f:param name="contactId" value="#{beanHelper.contact.contactId}" />
33                                         </h:link>
34                                 </li>
35                         </ui:fragment>
36
37                         <li class="mini_link">
38                                 <h:link outcome="admin_delete_landline">
39                                         <h:outputText styleClass="delete_link" value="#{msg.ADMIN_LINK_DELETE_SHORT}" title="#{msg.ADMIN_LINK_DELETE_SHORT_TITLE}" />
40                                         <f:param name="phoneId" value="#{beanHelper.landLineNumber.phoneId}" />
41                                 </h:link>
42                         </li>
43                 </ul>
44         </ui:fragment>
45 </ui:composition>