1 <?xml version="1.0" encoding="UTF-8" ?>
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 xmlns:p="http://primefaces.org/ui"
11 @TODO: summary="#{msg.ADMIN_TABLE_SUMMARY_SHOW_LAND_LINE_NUMBER_DATA}"
15 rendered="#{empty rendered or rendered == true}"
17 <f:facet name="header">
18 <h:outputText value="#{msg.ADMIN_SHOW_LAND_LINE_NUMBER_DATA_HEADER}" />
23 <p:outputLabel for="landLineNumberId" styleClass="table-data-label" value="#{msg.ADMIN_LABEL_ID_NUMBER}" />
25 <h:outputText id="landLineNumberId" styleClass="table-data-field" value="#{landLineNumber.phoneId}" />
27 <p:message for="landLineNumberId" />
32 <p:outputLabel for="landLineNumber" styleClass="table-data-label" value="#{msg.ADMIN_SHOW_LAND_LINE_NUMBER_COMPLETE}" />
34 <h:outputText id="landLineNumber" styleClass="table-data-field" value="#{beanHelper.renderPhoneNumber(landLineNumber)}" />
38 <p:outputLabel for="landLineCreated" styleClass="table-data-label" value="#{msg.ENTRY_CREATED_HEADER}" />
40 <h:outputText id="landLineCreated" styleClass="table-data-field" value="#{landLineNumber.phoneEntryCreated}">
41 <f:convertDateTime type="both" />
46 <p:outputLabel for="landLineUpdated" styleClass="table-data-label" value="#{msg.ENTRY_UPDATED_HEADER}" />
48 <h:outputText id="landLineUpdated" styleClass="table-data-field" value="#{landLineNumber.phoneEntryUpdated}">
49 <f:convertDateTime type="both" />
54 rendered="#{empty showAdminDropdownMenu or showAdminDropdownMenu == true}"
56 <p:outputLabel styleClass="table-data-label" value="#{msg.ADMIN_SHOW_ADMINISTRATIVE_LINKS}" />
58 <h:panelGroup styleClass="table-data-field" layout="block">
60 value="#{msg.OPTIONS}"
61 rendered="#{empty rendered or rendered}"
64 outcome="admin_show_landline"
65 value="#{msg.ADMIN_LINK_SHOW_SHORT}"
66 title="#{msg.ADMIN_LINK_SHOW_LAND_LINE_NUMBER_TITLE}"
68 <f:param name="landLineId" value="#{landLineNumber.phoneId}" />
72 outcome="admin_edit_landline"
73 value="#{msg.ADMIN_LINK_EDIT_SHORT}"
74 title="#{msg.ADMIN_LINK_EDIT_LAND_LINE_NUMBER_TITLE}"
76 <f:param name="landLineId" value="#{landLineNumber.phoneId}" />
80 outcome="admin_unlink_contact_landline"
81 rendered="#{not empty contact}"
84 styleClass="link-warning"
85 value="#{msg.ADMIN_LINK_UNLINK_SHORT}"
86 title="#{msg.ADMIN_LINK_UNLINK_LAND_LINE_NUMBER_CONTACT_TITLE}"
88 <f:param name="landLineId" value="#{landLineNumber.phoneId}" />
89 <f:param name="contactId" value="#{contact.contactId}" />
93 outcome="admin_delete_landline"
96 styleClass="link-danger"
97 value="#{msg.ADMIN_LINK_DELETE_SHORT}"
98 title="#{msg.ADMIN_LINK_DELETE_LAND_LINE_NUMBER_TITLE}"
100 <f:param name="landLineId" value="#{landLineNumber.phoneId}" />