]> git.mxchange.org Git - jjobs-war.git/blob - web/WEB-INF/templates/admin/user/admin_user_data.tpl
Continued with fax, land-line, mobile: (please cherry-pick)
[jjobs-war.git] / web / WEB-INF / templates / admin / user / admin_user_data.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:panelGrid id="admin_user_profile" summary="#{msg.ADMIN_TABLE_SUMMARY_SHOW_USER}" headerClass="table_header_column" styleClass="table_big" columns="3" rendered="#{not empty beanHelper.user}">
9                 <f:facet name="header">
10                         <h:outputFormat value="#{msg.ADMIN_HEADER_SHOW_USER}">
11                                 <f:param value="#{beanHelper.user.userName}" />
12                                 <f:param value="#{beanHelper.user.userId}" />
13                         </h:outputFormat>
14                 </f:facet>
15
16                 <h:column>
17                         <h:outputLabel for="userId" styleClass="table_data_label" value="#{msg.ADMIN_USER_ID}" />
18
19                         <h:outputText id="userId" styleClass="table_data_field" value="#{beanHelper.user.userId}" />
20                 </h:column>
21
22                 <ui:fragment rendered="#{featureController.isFeatureEnabled('user_name_required')}">
23                         <h:column>
24                                 <h:outputLabel for="userName" styleClass="table_data_label" value="#{msg.ADMIN_USER_NAME}" />
25
26                                 <h:outputText id="userName" styleClass="table_data_field" value="#{beanHelper.user.userName}" />
27                         </h:column>
28                 </ui:fragment>
29
30                 <h:column>
31                         <h:outputLabel for="userCreated" styleClass="table_data_label" value="#{msg.ADMIN_USER_CREATED}" />
32
33                         <h:outputText id="userCreated" styleClass="table_data_field" value="#{beanHelper.user.userCreated.time}">
34                                 <f:convertDateTime for="userCreated" type="both" />
35                         </h:outputText>
36                 </h:column>
37
38                 <h:column>
39                         <h:outputLabel for="userUpdated" styleClass="table_data_label" value="#{msg.ADMIN_USER_UPDATED}" />
40
41                         <h:outputText id="userUpdated" styleClass="table_data_field" value="#{beanHelper.user.userUpdated.time}">
42                                 <f:convertDateTime for="userUpdated" type="both" />
43                         </h:outputText>
44                 </h:column>
45
46                 <h:column>
47                         <h:outputLabel for="userAccountStatus" styleClass="table_data_label" value="#{msg.ADMIN_USER_ACCOUNT_STATUS}" />
48
49                         <h:outputText id="userAccountStatus" styleClass="table_data_field #{beanHelper.user.userAccountStatus.styleClass}" value="#{msg[beanHelper.user.userAccountStatus.messageKey]}" />
50                 </h:column>
51
52                 <h:column>
53                         <h:outputLabel for="userProfileMode" styleClass="table_data_label" value="#{msg.ADMIN_USER_PROFILE_MODE}" />
54
55                         <h:outputText id="userProfileMode" styleClass="table_data_field" value="#{msg[beanHelper.user.userProfileMode.messageKey]}" />
56                 </h:column>
57
58                 <h:column>
59                         <h:outputLabel for="userLastLocked" styleClass="table_data_label" value="#{msg.ADMIN_USER_LAST_LOCKED}" />
60
61                         <h:outputText id="userLastLocked" styleClass="table_data_field" value="#{beanHelper.user.userLastLocked.time}">
62                                 <f:convertDateTime for="userLastLocked" type="both" />
63                         </h:outputText>
64                 </h:column>
65
66                 <h:column>
67                         <h:outputLabel for="lastLockedReason" styleClass="table_data_label" value="#{msg.ADMIN_USER_LAST_LOCKED_REASON}" />
68
69                         <h:outputText id="lastLockedReason" styleClass="table_data_field" value="#{beanHelper.user.userLastLockedReason}" />
70                 </h:column>
71
72                 <h:column>
73                         <h:outputLabel for="contactCreated" styleClass="table_data_label" value="#{msg.ADMIN_USER_CONTACT_CREATED}" />
74
75                         <h:outputText id="contactCreated" styleClass="table_data_field" value="#{beanHelper.user.userContact.contactCreated.time}">
76                                 <f:convertDateTime for="contactCreated" type="both" />
77                         </h:outputText>
78                 </h:column>
79
80                 <h:column>
81                         <h:outputLabel for="contactUpdated" styleClass="table_data_label" value="#{msg.ADMIN_USER_CONTACT_UPDATED}" />
82
83                         <h:outputText id="contactUpdated" styleClass="table_data_field" value="#{beanHelper.user.userContact.contactUpdated.time}">
84                                 <f:convertDateTime for="contactUpdated" type="both" />
85                         </h:outputText>
86                 </h:column>
87
88                 <h:column>
89                         <h:outputLabel for="isOwnContact" styleClass="table_data_label" value="#{msg.ADMIN_CONTACT_IS_OWN_CONTACT}" />
90
91                         <h:outputText id="isOwnContact" styleClass="table_data_field" value="#{beanHelper.user.userContact.isOwnContact()}" />
92                 </h:column>
93
94                 <h:column>
95                         <h:outputLabel for="contactGender" styleClass="table_data_label" value="#{msg.ADMIN_CONTACT_GENDER}" />
96
97                         <h:outputText id="contactGender" styleClass="table_data_field" value="#{msg[beanHelper.user.userContact.contactGender.messageKey]}" />
98                 </h:column>
99
100                 <h:column>
101                         <h:outputLabel for="contactTitle" styleClass="table_data_label" value="#{msg.ADMIN_CONTACT_TITLE}" />
102
103                         <h:outputText id="contactTitle" styleClass="table_data_field" value="#{beanHelper.user.userContact.contactTitle}" />
104                 </h:column>
105
106                 <h:column>
107                         <h:outputLabel for="contactFirstName" styleClass="table_data_label" value="#{msg.ADMIN_CONTACT_FIRST_NAME}" />
108
109                         <h:outputText id="contactFirstName" styleClass="table_data_field" value="#{beanHelper.user.userContact.contactFirstName}" />
110                 </h:column>
111
112                 <h:column>
113                         <h:outputLabel for="contactFamilyName" styleClass="table_data_label" value="#{msg.ADMIN_CONTACT_FAMILY_NAME}" />
114
115                         <h:outputText id="contactFamilyName" styleClass="table_data_field" value="#{beanHelper.user.userContact.contactFamilyName}" />
116                 </h:column>
117
118                 <h:column>
119                         <h:outputLabel for="contactStreet" styleClass="table_data_label" value="#{msg.ADMIN_CONTACT_STREET}" />
120
121                         <h:outputText id="contactStreet" styleClass="table_data_field" value="#{beanHelper.user.userContact.contactStreet}" />
122                 </h:column>
123
124                 <h:column>
125                         <h:outputLabel for="contactHouseNumber" styleClass="table_data_label" value="#{msg.ADMIN_CONTACT_HOUSE_NUMBER}" />
126
127                         <h:outputText id="contactHouseNumber" styleClass="table_data_field" value="#{beanHelper.user.userContact.contactHouseNumber}" />
128                 </h:column>
129
130                 <h:column>
131                         <h:outputLabel for="contactHouseNumberExtension" styleClass="table_data_label" value="#{msg.ADMIN_CONTACT_HOUSE_NUMBER_EXTENSION}" />
132
133                         <h:outputText id="contactHouseNumberExtension" styleClass="table_data_field" value="#{beanHelper.user.userContact.contactHouseNumberExtension}" />
134                 </h:column>
135
136                 <h:column>
137                         <h:outputLabel for="contactZipCode" styleClass="table_data_label" value="#{msg.ADMIN_CONTACT_ZIP_CODE}" />
138
139                         <h:outputText id="contactZipCode" styleClass="table_data_field" value="#{beanHelper.user.userContact.contactZipCode}" />
140                 </h:column>
141
142                 <h:column>
143                         <h:outputLabel for="contactCity" styleClass="table_data_label" value="#{msg.ADMIN_CONTACT_CITY}" />
144
145                         <h:outputText id="contactCity" styleClass="table_data_field" value="#{beanHelper.user.userContact.contactCity}" />
146                 </h:column>
147
148                 <h:column>
149                         <h:outputLabel for="contactEmailAddress" styleClass="table_data_label" value="#{msg.ADMIN_CONTACT_EMAIL_ADDRESS}" />
150
151                         <h:outputLink id="contactEmailAddress" styleClass="table_data_field" value="mailto:#{beanHelper.user.userContact.contactEmailAddress}">
152                                 <h:outputText value="#{beanHelper.user.userContact.contactEmailAddress}" />
153                         </h:outputLink>
154                 </h:column>
155
156                 <h:column>
157                         <h:outputLabel for="contactBirthday" styleClass="table_data_label" value="#{msg.ADMIN_CONTACT_BIRTHDAY}" />
158
159                         <h:outputText id="contactBirthday" styleClass="table_data_field" value="#{beanHelper.user.userContact.contactBirthday.time}">
160                                 <f:convertDateTime for="contactBirthday" type="date" />
161                         </h:outputText>
162                 </h:column>
163         </h:panelGrid>
164 </ui:composition>