]> git.mxchange.org Git - jjobs-war.git/commitdiff
Fixed i18n keys
authorRoland Häder <roland@mxchange.org>
Fri, 29 Apr 2016 08:47:58 +0000 (10:47 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 29 Apr 2016 19:38:18 +0000 (21:38 +0200)
Signed-off-by: Roland Häder <roland@haeder.net>
Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/localization/bundle_de_DE.properties
src/java/org/mxchange/localization/bundle_en_US.properties
web/admin/cellphone/admin_contact_cellphone_show.xhtml
web/admin/contact/admin_contact_list.xhtml

index 4f17152dfa1fe0a682322e5c24a494ef865bd3f2..5f26fee961b5a7fba62800467d68338aac0a8761 100644 (file)
@@ -430,7 +430,7 @@ TABLE_SUMMARY_ADMIN_SHOW_CONTACT_CELLPHONE_LINKS=Diese Tabelle zeigt Verkn\u00fc
 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
index 28ac15f2ec7b3a07a2208bd13c390706179517da..669b73afedeffa0659531d54eb81c6c80ea5917b 100644 (file)
@@ -410,7 +410,7 @@ TABLE_SUMMARY_ADMIN_SHOW_CONTACT_CELLPHONE_LINKS=This table shows links of of th
 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
index e46b92affde05a6c42befe1f10ed8d4fc216cd5a..6df2183439a700903c731e02a072b0e7b204ff95 100644 (file)
@@ -33,7 +33,7 @@
                                </f:facet>
 
                                <h:column>
-                                       <h:outputLabel for="contactId" styleClass="data_label" value="#{msg.ADMIN_SHOW_CONTACT_ID}" />
+                                       <h:outputLabel for="contactId" styleClass="data_label" value="#{msg.ADMIN_CONTACT_ID}" />
 
                                        <h:link id="contactId" styleClass="data_field" outcome="admin_show_contact">
                                                <h:outputText value="#{contact.contactId}" />
index 072636b60cf5335325bdf75c193edc68113d7011..b496a40772f07f78ca5c363280f21554b37ede49 100644 (file)
@@ -16,7 +16,66 @@ _<?xml version="1.0" encoding="UTF-8" ?>
                </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>