]> git.mxchange.org Git - jjobs-war.git/blob - web/admin/cellphone/admin_contact_cellphone_show.xhtml
Fixed i18n keys
[jjobs-war.git] / web / admin / cellphone / admin_contact_cellphone_show.xhtml
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html
4         lang="#{localizationController.language}" xml:lang="#{localizationController.language}"
5         xmlns="http://www.w3.org/1999/xhtml"
6         xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
7         xmlns:h="http://xmlns.jcp.org/jsf/html"
8         xmlns:f="http://xmlns.jcp.org/jsf/core"
9         >
10
11         <f:metadata>
12                 <f:viewParam name="phoneId" value="#{adminContactPhoneController.cellPhone}" converter="CellphoneConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_PHONE_ID_NOT_SET}" />
13         </f:metadata>
14
15         <ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
16                 <ui:define name="admin_title">#{msg.PAGE_TITLE_ADMIN_SHOW_CONTACT_CELLPHONE}</ui:define>
17
18                 <ui:define name="content_header">
19                         #{msg.CONTENT_TITLE_ADMIN_SHOW_CONTACT_CELLPHONE}
20                 </ui:define>
21
22                 <ui:define name="content">
23                         <ui:include src="/WEB-INF/templates/admin/cellphone/admin_cellphone_data.tpl">
24                                 <ui:param name="cellphoneNumber" value="#{adminContactPhoneController.cellPhone}" />
25                                 <ui:param name="isShowPage" value="#{true}" />
26                         </ui:include>
27
28                         <h:dataTable id="contact_cellphone_link" var="contact" value="#{adminContactPhoneController.allCellphoneContacts()}" summary="#{msg.TABLE_SUMMARY_ADMIN_SHOW_CONTACT_CELLPHONE_LINKS}" headerClass="table_header_column" styleClass="table_medium">
29                                 <f:facet name="header">
30                                         <h:outputFormat value="#{msg.ADMIN_HEADER_SHOW_CONTACT_CELLPHONE_LINKS}">
31                                                 <f:param value="#{adminContactPhoneController.cellPhone.phoneId}" />
32                                         </h:outputFormat>
33                                 </f:facet>
34
35                                 <h:column>
36                                         <h:outputLabel for="contactId" styleClass="data_label" value="#{msg.ADMIN_CONTACT_ID}" />
37
38                                         <h:link id="contactId" styleClass="data_field" outcome="admin_show_contact">
39                                                 <h:outputText value="#{contact.contactId}" />
40                                                 <f:param name="contactId" value="#{contact.contactId}" />
41                                         </h:link>
42                                 </h:column>
43
44                                 <h:column>
45                                         <h:outputLabel for="contactGender" styleClass="data_label" value="#{msg.ADMIN_CONTACT_GENDER}" />
46
47                                         <h:outputText id="contactGender" styleClass="data_field" value="#{msg[contact.contactGender.messageKey]}" />
48                                 </h:column>
49
50                                 <h:column>
51                                         <h:outputLabel for="contactTitle" styleClass="data_label" value="#{msg.ADMIN_CONTACT_TITLE}" />
52
53                                         <h:outputText id="contactTitle" styleClass="data_field" value="#{contact.contactTitle}" />
54                                 </h:column>
55
56                                 <h:column>
57                                         <h:outputLabel for="contactFirstName" styleClass="data_label" value="#{msg.ADMIN_CONTACT_FIRST_NAME}" />
58
59                                         <h:outputText id="contactFirstName" styleClass="data_field" value="#{contact.contactFirstName}" />
60                                 </h:column>
61
62                                 <h:column>
63                                         <h:outputLabel for="contactFamilyName" styleClass="data_label" value="#{msg.ADMIN_CONTACT_FAMILY_NAME}" />
64
65                                         <h:outputText id="contactFamilyName" styleClass="data_field" value="#{contact.contactFamilyName}" />
66                                 </h:column>
67
68                                 <h:column>
69                                         <h:outputLabel for="contactEmailAddress" styleClass="data_label" value="#{msg.ADMIN_CONTACT_EMAIL_ADDRESS}" />
70
71                                         <h:outputLink id="contactEmailAddress" styleClass="data_field" value="mailto:#{contact.contactEmailAddress}">
72                                                 <h:outputText value="#{contact.contactEmailAddress}" />
73                                         </h:outputLink>
74                                 </h:column>
75
76                                 <h:column>
77                                         <h:outputLabel for="cellphoneLinks" styleClass="data_label" value="#{msg.ADMIN_SHOW_CELLPHONE_UNLINK}" />
78
79                                         <div id="cellphoneLinks" class="data_field">
80                                                 <ul class="mini_nav">
81                                                         <li class="mini_link">
82                                                                 <h:link outcome="admin_unlink_contact_cellphone">
83                                                                         <h:outputText styleClass="unlink_link" value="#{msg.ADMIN_LINK_UNLINK_SHORT}" title="#{msg.ADMIN_LINK_UNLINK_SHORT_TITLE}" />
84                                                                         <f:param name="phoneId" value="#{adminContactPhoneController.cellPhone.phoneId}" />
85                                                                         <f:param name="contactId" value="#{contact.contactId}" />
86                                                                 </h:link>
87                                                         </li>
88                                                 </ul>
89                                         </div>
90                                 </h:column>
91                         </h:dataTable>
92                 </ui:define>
93         </ui:composition>
94 </html>