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">
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"
12 <f:viewParam name="customerId" value="#{beanHelper.customer}" converter="CustomerConverter" required="true" requiredMessage="#{msg.ERROR_PARAMETER_USER_ID_NOT_SET}" />
13 <f:viewAction action="#{beanHelper.copyCustomerToController()}" />
16 <ui:composition template="/WEB-INF/templates/admin/admin_base.tpl">
17 <ui:define name="admin_title">
18 <h:outputText value="#{msg.PAGE_TITLE_ADMIN_SHOW_USER}" />
21 <ui:define name="content_header">
22 <h:outputText value="#{msg.CONTENT_TITLE_ADMIN_SHOW_USER}" />
25 <ui:define name="content">
26 <h:outputText styleClass="errors" value="#{msg.ERROR_USER_ID_NOT_FOUND}" rendered="#{empty beanHelper.customer}" />
28 <h:panelGrid id="customer_profile" summary="#{msg.ADMIN_TABLE_SUMMARY_SHOW_USER}" headerClass="table_header_column" styleClass="table_big" columns="3" rendered="#{not empty beanHelper.customer}">
29 <f:facet name="header">
30 <h:outputFormat value="#{msg.ADMIN_HEADER_SHOW_USER}">
31 <f:param value="#{beanHelper.customer.customerId}" />
36 <h:outputLabel for="customerId" styleClass="data_label" value="#{msg.ADMIN_USER_ID}" />
38 <h:outputText id="customerId" styleClass="data_field" value="#{beanHelper.customer.customerId}" />
42 <h:outputLabel for="customerName" styleClass="data_label" value="#{msg.ADMIN_USER_NUMBER}" />
44 <h:outputText id="customerName" styleClass="data_field" value="#{beanHelper.customer.customerNumber}" />
48 <h:outputLabel for="customerCreated" styleClass="data_label" value="#{msg.ADMIN_USER_CREATED}" />
50 <h:outputText id="customerCreated" styleClass="data_field" value="#{beanHelper.customer.customerCreated.time}">
51 <f:convertDateTime for="customerCreated" type="both" />
56 <h:outputLabel for="customerUpdated" styleClass="data_label" value="#{msg.ADMIN_USER_UPDATED}" />
58 <h:outputText id="customerUpdated" styleClass="data_field" value="#{beanHelper.customer.customerUpdated.time}">
59 <f:convertDateTime for="customerUpdated" type="both" />
64 <h:outputLabel for="customerAccountStatus" styleClass="data_label" value="#{msg.ADMIN_USER_ACCOUNT_STATUS}" />
66 <h:outputText id="customerAccountStatus" styleClass="data_field #{beanHelper.customer.customerAccountStatus.styleClass}" value="#{msg[beanHelper.customer.customerAccountStatus.messageKey]}" />
70 <h:outputLabel for="customerLastLocked" styleClass="data_label" value="#{msg.ADMIN_USER_LAST_LOCKED}" />
72 <h:outputText id="customerLastLocked" styleClass="data_field" value="#{beanHelper.customer.customerLastLocked.time}">
73 <f:convertDateTime for="customerLastLocked" type="both" />
78 <h:outputLabel for="customerLastLockedReason" styleClass="data_label" value="#{msg.ADMIN_USER_LAST_LOCKED_REASON}" />
80 <h:outputText id="customerLastLockedReason" styleClass="data_field" value="#{beanHelper.customer.customerLastLockedReason}" />
84 <h:outputLabel for="contactCreated" styleClass="data_label" value="#{msg.ADMIN_USER_CONTACT_CREATED}" />
86 <h:outputText id="contactCreated" styleClass="data_field" value="#{beanHelper.customer.customerContact.contactCreated.time}">
87 <f:convertDateTime for="contactCreated" type="both" />
92 <h:outputLabel for="contactUpdated" styleClass="data_label" value="#{msg.ADMIN_USER_CONTACT_UPDATED}" />
94 <h:outputText id="contactUpdated" styleClass="data_field" value="#{beanHelper.customer.customerContact.contactUpdated.time}">
95 <f:convertDateTime for="contactUpdated" type="both" />
100 <h:outputLabel for="isOwnContact" styleClass="data_label" value="#{msg.ADMIN_CONTACT_IS_OWN_CONTACT}" />
102 <h:outputText id="isOwnContact" styleClass="data_field" value="#{beanHelper.customer.customerContact.isOwnContact()}" />
106 <h:outputLabel for="contactGender" styleClass="data_label" value="#{msg.ADMIN_CONTACT_GENDER}" />
108 <h:outputText id="contactGender" styleClass="data_field" value="#{msg[beanHelper.customer.customerContact.contactGender.messageKey]}" />
112 <h:outputLabel for="contactTitle" styleClass="data_label" value="#{msg.ADMIN_CONTACT_TITLE}" />
114 <h:outputText id="contactTitle" styleClass="data_field" value="#{beanHelper.customer.customerContact.contactTitle}" />
118 <h:outputLabel for="contactFirstName" styleClass="data_label" value="#{msg.ADMIN_CONTACT_FIRST_NAME}" />
120 <h:outputText id="contactFirstName" styleClass="data_field" value="#{beanHelper.customer.customerContact.contactFirstName}" />
124 <h:outputLabel for="contactFamilyName" styleClass="data_label" value="#{msg.ADMIN_CONTACT_FAMILY_NAME}" />
126 <h:outputText id="contactFamilyName" styleClass="data_field" value="#{beanHelper.customer.customerContact.contactFamilyName}" />
130 <h:outputLabel for="contactStreet" styleClass="data_label" value="#{msg.ADMIN_CONTACT_STREET}" />
132 <h:outputText id="contactStreet" styleClass="data_field" value="#{beanHelper.customer.customerContact.contactStreet}" />
136 <h:outputLabel for="contactHouseNumber" styleClass="data_label" value="#{msg.ADMIN_CONTACT_HOUSE_NUMBER}" />
138 <h:outputText id="contactHouseNumber" styleClass="data_field" value="#{beanHelper.customer.customerContact.contactHouseNumber}" />
142 <h:outputLabel for="contactZipCode" styleClass="data_label" value="#{msg.ADMIN_CONTACT_ZIP_CODE}" />
144 <h:outputText id="contactZipCode" styleClass="data_field" value="#{beanHelper.customer.customerContact.contactZipCode}" />
148 <h:outputLabel for="contactCity" styleClass="data_label" value="#{msg.ADMIN_CONTACT_CITY}" />
150 <h:outputText id="contactCity" styleClass="data_field" value="#{beanHelper.customer.customerContact.contactCity}" />
154 <h:outputLabel for="contactEmailAddress" styleClass="data_label" value="#{msg.ADMIN_CONTACT_EMAIL_ADDRESS}" />
156 <h:outputLink id="contactEmailAddress" styleClass="data_field" value="mailto:#{beanHelper.customer.customerContact.contactEmailAddress}">
157 <h:outputText value="#{beanHelper.customer.customerContact.contactEmailAddress}" />
162 <h:outputLabel for="contactBirthday" styleClass="data_label" value="#{msg.ADMIN_CONTACT_BIRTHDAY}" />
164 <h:outputText id="contactBirthday" styleClass="data_field" value="#{beanHelper.customer.customerContact.contactBirthday.time}">
165 <f:convertDateTime for="contactBirthday" type="date" />
171 <ui:include src="/WEB-INF/templates/admin/customer/admin_customer_links.tpl">
172 <ui:param name="customer" value="#{beanHelper.customer}" />
177 <ui:include src="/WEB-INF/templates/admin/cellphone/admin_cellphone_add_show.tpl">
178 <ui:param name="mobileNumber" value="#{beanHelper.customer.customerContact.contactCellphoneNumber}" />
179 <ui:param name="contact" value="#{beanHelper.customer.customerContact}" />