]> git.mxchange.org Git - jjobs-war.git/blob - web/WEB-INF/resources/tags/admin/columns/admin_contact_data_columns.tpl
Please cherry-pick:
[jjobs-war.git] / web / WEB-INF / resources / tags / admin / columns / admin_contact_data_columns.tpl
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!-- @TODO maybe later add phone numbers as "main" numbers? //-->
3 <ui:composition
4         xmlns="http://www.w3.org/1999/xhtml"
5         xmlns:f="http://xmlns.jcp.org/jsf/core"
6         xmlns:h="http://xmlns.jcp.org/jsf/html"
7         xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
8
9         <h:column>
10                 <h:outputLabel for="contactId" styleClass="table-data-label" value="#{msg.ADMIN_CONTACT_ID}" />
11
12                 <h:outputText id="contactId" styleClass="table-data-field" value="#{beanHelper.contact.contactId}" />
13         </h:column>
14
15         <h:column>
16                 <h:outputLabel for="contactCreated" styleClass="table-data-label" value="#{msg.ADMIN_CONTACT_CREATED}" />
17
18                 <h:outputText id="contactCreated" styleClass="table-data-field" value="#{beanHelper.contact.contactCreated.time}">
19                         <f:convertDateTime for="contactCreated" type="both" />
20                 </h:outputText>
21         </h:column>
22
23         <h:column>
24                 <h:outputLabel for="contactUpdated" styleClass="table-data-label" value="#{msg.ADMIN_CONTACT_UPDATED}" />
25
26                 <h:outputText id="contactUpdated" styleClass="table-data-field" value="#{beanHelper.contact.contactUpdated.time}">
27                         <f:convertDateTime for="contactUpdated" type="both" />
28                 </h:outputText>
29         </h:column>
30
31         <h:column>
32                 <h:outputLabel for="isOwnContact" styleClass="table-data-label" value="#{msg.ADMIN_CONTACT_IS_OWN_CONTACT}" />
33
34                 <h:outputText id="isOwnContact" styleClass="table-data-field" value="#{beanHelper.contact.isOwnContact()}" />
35         </h:column>
36
37         <h:column>
38                 <h:outputLabel for="contactPersonalTitle" styleClass="table-data-label" value="#{msg.ADMIN_CONTACT_PERSONAL_TITLE}" />
39
40                 <h:outputText id="contactPersonalTitle" styleClass="table-data-field" value="#{msg[beanHelper.contact.contactPersonalTitle.messageKey]}" />
41         </h:column>
42
43         <h:column>
44                 <h:outputLabel for="contactTitle" styleClass="table-data-label" value="#{msg.ADMIN_CONTACT_ACADEMIC_TITLE}" />
45
46                 <h:outputText id="contactTitle" styleClass="table-data-field" value="#{beanHelper.contact.contactTitle}" />
47         </h:column>
48
49         <h:column>
50                 <h:outputLabel for="contactFirstName" styleClass="table-data-label" value="#{msg.ADMIN_CONTACT_FIRST_NAME}" />
51
52                 <h:outputText id="contactFirstName" styleClass="table-data-field" value="#{beanHelper.contact.contactFirstName}" />
53         </h:column>
54
55         <h:column>
56                 <h:outputLabel for="contactFamilyName" styleClass="table-data-label" value="#{msg.ADMIN_CONTACT_FAMILY_NAME}" />
57
58                 <h:outputText id="contactFamilyName" styleClass="table-data-field" value="#{beanHelper.contact.contactFamilyName}" />
59         </h:column>
60
61         <h:column>
62                 <h:outputLabel for="contactStreet" styleClass="table-data-label" value="#{msg.ADMIN_CONTACT_STREET}" />
63
64                 <h:outputText id="contactStreet" styleClass="table-data-field" value="#{beanHelper.contact.contactStreet}" />
65         </h:column>
66
67         <h:column>
68                 <h:outputLabel for="contactHouseNumber" styleClass="table-data-label" value="#{msg.ADMIN_CONTACT_HOUSE_NUMBER}" />
69
70                 <h:outputText id="contactHouseNumber" styleClass="table-data-field" value="#{beanHelper.contact.contactHouseNumber}" />
71         </h:column>
72
73         <h:column>
74                 <h:outputLabel for="contactHouseNumberExtension" styleClass="table-data-label" value="#{msg.ADMIN_CONTACT_HOUSE_NUMBER_EXTENSION}" />
75
76                 <h:outputText id="contactHouseNumberExtension" styleClass="table-data-field" value="#{beanHelper.contact.contactHouseNumberExtension}" />
77         </h:column>
78
79         <h:column>
80                 <h:outputLabel for="contactCountry" styleClass="table-data-label" value="#{msg.ADMIN_CONTACT_COUNTRY_CODE}" />
81
82                 <h:outputText id="contactCountry" styleClass="table-data-field" value="#{beanHelper.contact.contactCountry.countryCode}" />
83         </h:column>
84
85         <h:column>
86                 <h:outputLabel for="contactZipCode" styleClass="table-data-label" value="#{msg.ADMIN_CONTACT_ZIP_CODE}" />
87
88                 <h:outputText id="contactZipCode" styleClass="table-data-field" value="#{beanHelper.contact.contactZipCode}" />
89         </h:column>
90
91         <h:column>
92                 <h:outputLabel for="contactCity" styleClass="table-data-label" value="#{msg.ADMIN_CONTACT_CITY}" />
93
94                 <h:outputText id="contactCity" styleClass="table-data-field" value="#{beanHelper.contact.contactCity}" />
95         </h:column>
96
97         <h:column>
98                 <h:outputLabel for="contactEmailAddress" styleClass="table-data-label" value="#{msg.DATA_EMAIL_ADDRESS}" />
99
100                 <h:outputLink id="contactEmailAddress" styleClass="table-data-field" value="mailto:#{beanHelper.contact.contactEmailAddress}">
101                         <h:outputText value="#{beanHelper.contact.contactEmailAddress}" />
102                 </h:outputLink>
103         </h:column>
104
105         <h:column>
106                 <h:outputLabel for="contactBirthday" styleClass="table-data-label" value="#{msg.ADMIN_CONTACT_BIRTHDAY}" />
107
108                 <h:outputText id="contactBirthday" styleClass="table-data-field" value="#{beanHelper.contact.contactBirthday.time}">
109                         <f:convertDateTime for="contactBirthday" type="date" />
110                 </h:outputText>
111         </h:column>
112
113         <h:column>
114                 <h:outputLabel for="contactComment" styleClass="table-data-label" value="#{msg.ADMIN_CONTACT_COMMENT}" />
115
116                 <h:outputText id="contactComment" styleClass="table-data-field" value="#{beanHelper.contact.contactComment}" />
117         </h:column>
118 </ui:composition>