1 <?xml version="1.0" encoding="UTF-8" ?>
\r
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
\r
4 lang="#{localizationController.language}" xml:lang="#{localizationController.language}"
\r
5 xmlns="http://www.w3.org/1999/xhtml"
\r
6 xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
\r
7 xmlns:h="http://xmlns.jcp.org/jsf/html"
\r
8 xmlns:f="http://xmlns.jcp.org/jsf/core"
\r
12 <f:viewParam name="userId" value="#{beanHelper.user}" converter="UserConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_USER_ID_NOT_SET}" />
\r
13 <f:viewAction action="#{beanHelper.copyUserToController()}" />
\r
16 <ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
\r
17 <ui:define name="admin_title">#{msg.PAGE_TITLE_ADMIN_SHOW_USER}</ui:define>
\r
19 <ui:define name="content_header">
\r
20 #{msg.CONTENT_TITLE_ADMIN_SHOW_USER}
\r
23 <ui:define name="content">
\r
24 <h:outputText styleClass="errors" value="#{msg.ERROR_USER_ID_NOT_FOUND}" rendered="#{empty beanHelper.user}" />
\r
26 <h:panelGrid id="user_profile" summary="#{msg.ADMIN_TABLE_SUMMARY_SHOW_USER}" headerClass="table_header_column" styleClass="table_big" columns="3" rendered="#{not empty beanHelper.user}">
\r
27 <f:facet name="header">
\r
28 <h:outputFormat value="#{msg.ADMIN_HEADER_SHOW_USER}">
\r
29 <f:param value="#{beanHelper.user.userName}" />
\r
30 <f:param value="#{beanHelper.user.userId}" />
\r
35 <h:outputLabel for="userId" styleClass="data_label" value="#{msg.ADMIN_USER_ID}" />
\r
37 <h:outputText id="userId" styleClass="data_field" value="#{beanHelper.user.userId}" />
\r
41 <h:outputLabel for="userName" styleClass="data_label" value="#{msg.ADMIN_USER_NAME}" />
\r
43 <h:outputText id="userName" styleClass="data_field" value="#{beanHelper.user.userName}" />
\r
47 <h:outputLabel for="userCreated" styleClass="data_label" value="#{msg.ADMIN_USER_CREATED}" />
\r
49 <h:outputText id="userCreated" styleClass="data_field" value="#{beanHelper.user.userCreated.time}">
\r
50 <f:convertDateTime for="userCreated" type="both" />
\r
55 <h:outputLabel for="userUpdated" styleClass="data_label" value="#{msg.ADMIN_USER_UPDATED}" />
\r
57 <h:outputText id="userUpdated" styleClass="data_field" value="#{beanHelper.user.userUpdated.time}">
\r
58 <f:convertDateTime for="userUpdated" type="both" />
\r
63 <h:outputLabel for="userAccountStatus" styleClass="data_label" value="#{msg.ADMIN_USER_ACCOUNT_STATUS}" />
\r
65 <h:outputText id="userAccountStatus" styleClass="data_field #{beanHelper.user.userAccountStatus.styleClass}" value="#{msg[beanHelper.user.userAccountStatus.messageKey]}" />
\r
69 <h:outputLabel for="userProfileMode" styleClass="data_label" value="#{msg.ADMIN_USER_PROFILE_MODE}" />
\r
71 <h:outputText id="userProfileMode" styleClass="data_field" value="#{msg[beanHelper.user.userProfileMode.messageKey]}" />
\r
75 <h:outputLabel for="userLastLocked" styleClass="data_label" value="#{msg.ADMIN_USER_LAST_LOCKED}" />
\r
77 <h:outputText id="userLastLocked" styleClass="data_field" value="#{beanHelper.user.userLastLocked.time}">
\r
78 <f:convertDateTime for="userLastLocked" type="both" />
\r
83 <h:outputLabel for="lastLockedReason" styleClass="data_label" value="#{msg.ADMIN_USER_LAST_LOCKED_REASON}" />
\r
85 <h:outputText id="lastLockedReason" styleClass="data_field" value="#{beanHelper.user.userLastLockedReason}" />
\r
89 <h:outputLabel for="contactCreated" styleClass="data_label" value="#{msg.ADMIN_USER_CONTACT_CREATED}" />
\r
91 <h:outputText id="contactCreated" styleClass="data_field" value="#{beanHelper.user.userContact.contactCreated.time}">
\r
92 <f:convertDateTime for="contactCreated" type="both" />
\r
97 <h:outputLabel for="contactUpdated" styleClass="data_label" value="#{msg.ADMIN_USER_CONTACT_UPDATED}" />
\r
99 <h:outputText id="contactUpdated" styleClass="data_field" value="#{beanHelper.user.userContact.contactUpdated.time}">
\r
100 <f:convertDateTime for="contactUpdated" type="both" />
\r
105 <h:outputLabel for="isOwnContact" styleClass="data_label" value="#{msg.ADMIN_CONTACT_IS_OWN_CONTACT}" />
\r
107 <h:outputText id="isOwnContact" styleClass="data_field" value="#{beanHelper.user.userContact.isOwnContact()}" />
\r
111 <h:outputLabel for="contactGender" styleClass="data_label" value="#{msg.ADMIN_CONTACT_GENDER}" />
\r
113 <h:outputText id="contactGender" styleClass="data_field" value="#{msg[beanHelper.user.userContact.contactGender.messageKey]}" />
\r
117 <h:outputLabel for="contactTitle" styleClass="data_label" value="#{msg.ADMIN_CONTACT_TITLE}" />
\r
119 <h:outputText id="contactTitle" styleClass="data_field" value="#{beanHelper.user.userContact.contactTitle}" />
\r
123 <h:outputLabel for="contactFirstName" styleClass="data_label" value="#{msg.ADMIN_CONTACT_FIRST_NAME}" />
\r
125 <h:outputText id="contactFirstName" styleClass="data_field" value="#{beanHelper.user.userContact.contactFirstName}" />
\r
129 <h:outputLabel for="contactFamilyName" styleClass="data_label" value="#{msg.ADMIN_CONTACT_FAMILY_NAME}" />
\r
131 <h:outputText id="contactFamilyName" styleClass="data_field" value="#{beanHelper.user.userContact.contactFamilyName}" />
\r
135 <h:outputLabel for="contactStreet" styleClass="data_label" value="#{msg.ADMIN_CONTACT_STREET}" />
\r
137 <h:outputText id="contactStreet" styleClass="data_field" value="#{beanHelper.user.userContact.contactStreet}" />
\r
141 <h:outputLabel for="contactHouseNumber" styleClass="data_label" value="#{msg.ADMIN_CONTACT_HOUSE_NUMBER}" />
\r
143 <h:outputText id="contactHouseNumber" styleClass="data_field" value="#{beanHelper.user.userContact.contactHouseNumber}" />
\r
147 <h:outputLabel for="contactZipCode" styleClass="data_label" value="#{msg.ADMIN_CONTACT_ZIP_CODE}" />
\r
149 <h:outputText id="contactZipCode" styleClass="data_field" value="#{beanHelper.user.userContact.contactZipCode}" />
\r
153 <h:outputLabel for="contactCity" styleClass="data_label" value="#{msg.ADMIN_CONTACT_CITY}" />
\r
155 <h:outputText id="contactCity" styleClass="data_field" value="#{beanHelper.user.userContact.contactCity}" />
\r
159 <h:outputLabel for="contactEmailAddress" styleClass="data_label" value="#{msg.ADMIN_CONTACT_EMAIL_ADDRESS}" />
\r
161 <h:outputLink id="contactEmailAddress" styleClass="data_field" value="mailto:#{beanHelper.user.userContact.contactEmailAddress}">
\r
162 <h:outputText value="#{beanHelper.user.userContact.contactEmailAddress}" />
\r
167 <h:outputLabel for="contactBirthday" styleClass="data_label" value="#{msg.ADMIN_CONTACT_BIRTHDAY}" />
\r
169 <h:outputText id="contactBirthday" styleClass="data_field" value="#{beanHelper.user.userContact.contactBirthday.time}">
\r
170 <f:convertDateTime for="contactBirthday" type="date" />
\r
176 <ui:include src="/WEB-INF/templates/admin/user/admin_user_links.tpl">
\r
177 <ui:param name="user" value="#{beanHelper.user}" />
\r
182 <ui:include src="/WEB-INF/templates/admin/cellphone/admin_cellphone_add_show.tpl">
\r
183 <ui:param name="cellphoneNumber" value="#{beanHelper.user.userContact.contactCellphoneNumber}" />
\r
184 <ui:param name="contact" value="#{beanHelper.user.userContact}" />
\r