]> git.mxchange.org Git - jfinancials-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:01:51 +0000 (21:01 +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 e703b39434ae2fb9de73a6267560159667473582..27963bf45a6a7ab72ed5487b50afc5220566617e 100644 (file)
@@ -414,7 +414,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 baa53cbe393ac76d4a98554661b821a1975659f4..1896c41b4bd5f3716518f043f6b407535bc6168c 100644 (file)
@@ -394,7 +394,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>