ADMIN_HEADER_SHOW_CONTACT_CELLPHONE_LINKS=Alle Kontakt-Mobiltelefon-Verkn\u00fcpfungen f\u00fcr Id-Nummer {0}:
ERROR_PARAMETER_CONTACT_ID_NOT_SET=Fehler: Parameter 'contactId' ist nicht gesetzt.
ADMIN_SHOW_CELLPHONE_UNLINK=Trennen:
-ADMIN_SHOW_CONTACT_ID=Kontakt-Id:
+ADMIN_CONTACT_ID=Kontakt-Id:
PAGE_TITLE_ADMIN_SHOW_CONTACT=Kontaktdaten anzeigen
CONTENT_TITLE_ADMIN_SHOW_CONTACT=Kontaktdaten anzeigen:
PAGE_TITLE_ADMIN_EDIT_CONTACT=Kontaktdaten editieren
ADMIN_HEADER_SHOW_CONTACT_CELLPHONE_LINKS=All links between contact-cellphone for id {0}:
ERROR_PARAMETER_CONTACT_ID_NOT_SET=Error: Parameter 'contactId' is not set.
ADMIN_SHOW_CELLPHONE_UNLINK=Unlink:
-ADMIN_SHOW_CONTACT_ID=Contact id:
+ADMIN_CONTACT_ID=Contact id:
PAGE_TITLE_ADMIN_SHOW_CONTACT=Show contact data
CONTENT_TITLE_ADMIN_SHOW_CONTACT=Show contact data:
PAGE_TITLE_ADMIN_EDIT_CONTACT=Edit contact data
</ui:define>
<ui:define name="content">
- Here goes your content.
+ <h:dataTable id="table_list_contacts" var="contact" value="#{adminContactController.allContacts()}" styleClass="table_big" headerClass="table_header_column" summary="#{msg.TABLE_SUMMARY_ADMIN_LIST_CONTACT}" rendered="#{adminContactController.hasContacts()}">
+ <h:column>
+ <f:facet name="header">#{msg.ADMIN_CONTACT_ID}</f:facet>
+
+ <h:link outcome="admin_show_contact" title="#{msg.ADMIN_LINK_SHOW_CONTACT_TITLE}" value="#{contact.contactId}">
+ <f:param name="contactId" value="#{contact.contactId}" />
+ </h:link>
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">#{msg.ADMIN_CONTACT_GENDER}</f:facet>
+
+ <h:outputText value="#{msg[contact.contactGender.messageKey]}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">#{msg.ADMIN_CONTACT_FIRST_NAME}</f:facet>
+
+ <h:outputText value="#{contact.contactFirstName}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">#{msg.ADMIN_CONTACT_FAMILY_NAME}</f:facet>
+
+ <h:outputText value="#{contact.contactFamilyName}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">#{msg.ADMIN_CONTACT_USAGE}</f:facet>
+
+ <h:outputText value="#{msg[adminHelper.getUserCustomerUsageMessageKey(contact)]}" />
+ </h:column>
+
+ <h:column>
+ <f:facet name="header">#{msg.ADMIN_CONTACT_CREATED}</f:facet>
+
+ <h:outputText id="contactCreated" value="#{contact.contactCreated.time}">
+ <f:convertDateTime for="contactCreated" type="both" timeStyle="short" dateStyle="short" />
+ </h:outputText>
+ </h:column>
+ </h:dataTable>
+
+ <div class="table_medium">
+ <h:form id="admin_add_contact">
+ <div class="table_header">
+ #{msg.ADMIN_ADD_CONTACT_TITLE}
+ </div>
+
+ <div class="para">
+ <h:outputText value="#{msg.ADMIN_ADD_CONTACT_MINIMUM_DATA}" />
+ </div>
+
+ <ui:include src="/WEB-INF/templates/admin/contact/admin_form_contact_data.tpl" />
+
+ <div class="table_footer">
+ <h:commandButton class="reset" type="reset" value="#{msg.BUTTON_RESET_FORM}" />
+ <h:commandButton class="submit" type="submit" id="register" value="#{msg.BUTTON_ADMIN_ADD_CONTACT}" action="#{adminContactController.addContact()}" />
+ </div>
+ </h:form>
+ </div>
</ui:define>
</ui:composition>
</html>