]> git.mxchange.org Git - pizzaservice-war.git/commitdiff
added menu for listing contacts
authorRoland Häder <roland@mxchange.org>
Wed, 27 Apr 2016 10:23:24 +0000 (12:23 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 27 Apr 2016 20:21:07 +0000 (22:21 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
nbproject/faces-config.NavData
src/java/org/mxchange/localization/bundle_de_DE.properties
src/java/org/mxchange/localization/bundle_en_US.properties
web/WEB-INF/faces-config.xml
web/WEB-INF/templates/admin/admin_menu.tpl

index b94d0f39f207563f566cf88ca7646103bd7db427..e0541e8c682f66be2d0f0a2e9f442ba29158d34b 100644 (file)
@@ -2,58 +2,58 @@
 <Scene Scope="Project" version="2">
     <Scope Scope="Faces Configuration Only"/>
     <Scope Scope="Project">
-        <Node id="admin/customer/admin_customer_delete.xhtml" x="1400" y="750" zoom="true"/>
-        <Node id="admin/cellphone/admin_contact_cellphone_list.xhtml" x="150" y="1050" zoom="true"/>
-        <Node id="customer/checkout2.xhtml" x="1400" y="600" zoom="true"/>
-        <Node id="admin/contact/admin_contact_show.xhtml" x="900" y="450" zoom="true"/>
-        <Node id="privacy.xhtml" x="400" y="900" zoom="true"/>
-        <Node id="admin/mobile_provider/admin_mobile_provider_show.xhtml" x="2150" y="300" zoom="true"/>
-        <Node id="admin/user/admin_user_show.xhtml" x="1150" y="750" zoom="true"/>
-        <Node id="admin/index.xhtml" x="650" y="600" zoom="true"/>
-        <Node id="customer/register.xhtml" x="650" y="150" zoom="true"/>
-        <Node id="item_added.xhtml" x="150" y="450" zoom="true"/>
-        <Node id="admin/category/admin_category_list.xhtml" x="650" y="750" zoom="true"/>
-        <Node id="admin/admin_logout.xhtml" x="2400" y="150" zoom="true"/>
-        <Node id="admin/user/admin_user_unlock.xhtml" x="900" y="600" zoom="true"/>
+        <Node id="admin/customer/admin_customer_delete.xhtml" x="650" y="600" zoom="true"/>
+        <Node id="admin/cellphone/admin_contact_cellphone_list.xhtml" x="650" y="750" zoom="true"/>
+        <Node id="customer/checkout2.xhtml" x="1150" y="600" zoom="true"/>
+        <Node id="admin/contact/admin_contact_show.xhtml" x="650" y="300" zoom="true"/>
+        <Node id="privacy.xhtml" x="900" y="150" zoom="true"/>
+        <Node id="admin/mobile_provider/admin_mobile_provider_show.xhtml" x="1150" y="150" zoom="true"/>
+        <Node id="admin/user/admin_user_show.xhtml" x="400" y="750" zoom="true"/>
+        <Node id="admin/index.xhtml" x="150" y="1050" zoom="true"/>
+        <Node id="customer/register.xhtml" x="1150" y="450" zoom="true"/>
+        <Node id="admin/category/admin_category_list.xhtml" x="400" y="450" zoom="true"/>
+        <Node id="item_added.xhtml" x="1650" y="150" zoom="true"/>
+        <Node id="admin/admin_logout.xhtml" x="150" y="1200" zoom="true"/>
+        <Node id="admin/user/admin_user_unlock.xhtml" x="1400" y="450" zoom="true"/>
         <Node id="customer/lost_passwd.xhtml" x="400" y="150" zoom="true"/>
-        <Node id="index.xhtml" x="650" y="450" zoom="true"/>
-        <Node id="customer/checkout_done.xhtml" x="1400" y="450" zoom="true"/>
-        <Node id="*" x="150" y="300" zoom="true"/>
-        <Node id="customer/login.xhtml" x="1400" y="150" zoom="true"/>
-        <Node id="admin/customer/admin_customer_unlock.xhtml" x="400" y="1200" zoom="true"/>
-        <Node id="admin/cellphone/admin_contact_cellphone_edit.xhtml" x="400" y="300" zoom="true"/>
-        <Node id="admin/product/admin_product_edit.xhtml" x="1900" y="300" zoom="true"/>
-        <Node id="login/login_contact_data_saved.xhtml" x="150" y="600" zoom="true"/>
-        <Node id="admin/country/admin_country_list.xhtml" x="150" y="750" zoom="true"/>
-        <Node id="admin/cellphone/admin_contact_cellphone_unlink.xhtml" x="1150" y="900" zoom="true"/>
-        <Node id="admin/customer/admin_customer_edit.xhtml" x="2150" y="150" zoom="true"/>
-        <Node id="admin/mobile_provider/admin_mobile_provider_delete.xhtml" x="900" y="150" zoom="true"/>
-        <Node id="admin/mobile_provider/admin_mobile_provider_list.xhtml" x="1900" y="450" zoom="true"/>
-        <Node id="customer/checkout.xhtml" x="650" y="300" zoom="true"/>
-        <Node id="admin/product/admin_product_delete.xhtml" x="1650" y="450" zoom="true"/>
-        <Node id="basket.xhtml" x="400" y="750" zoom="true"/>
-        <Node id="admin/cellphone/admin_contact_cellphone_delete.xhtml" x="400" y="450" zoom="true"/>
-        <Node id="exception.xhtml" x="900" y="300" zoom="true"/>
-        <Node id="admin/user/admin_user_delete.xhtml" x="900" y="1050" zoom="true"/>
-        <Node id="admin/category/admin_category_delete.xhtml" x="1150" y="450" zoom="true"/>
-        <Node id="admin/user/admin_user_edit.xhtml" x="150" y="1200" zoom="true"/>
-        <Node id="terms.xhtml" x="400" y="1050" zoom="true"/>
-        <Node id="admin/contact/admin_contact_edit.xhtml" x="1150" y="150" zoom="true"/>
-        <Node id="admin/contact/admin_contact_list.xhtml" x="400" y="600" zoom="true"/>
-        <Node id="admin/user/admin_user_list.xhtml" x="1650" y="600" zoom="true"/>
-        <Node id="admin/country/admin_country_delete.xhtml" x="150" y="1350" zoom="true"/>
-        <Node id="login/login_user_data_saved.xhtml" x="1650" y="150" zoom="true"/>
-        <Node id="admin/category/admin_category_edit.xhtml" x="900" y="750" zoom="true"/>
-        <Node id="logout.xhtml" x="1650" y="300" zoom="true"/>
-        <Node id="admin/country/admin_country_edit.xhtml" x="650" y="1050" zoom="true"/>
+        <Node id="index.xhtml" x="1150" y="750" zoom="true"/>
+        <Node id="customer/checkout_done.xhtml" x="1150" y="300" zoom="true"/>
+        <Node id="customer/login.xhtml" x="400" y="300" zoom="true"/>
+        <Node id="*" x="900" y="1050" zoom="true"/>
+        <Node id="admin/customer/admin_customer_unlock.xhtml" x="400" y="900" zoom="true"/>
+        <Node id="admin/cellphone/admin_contact_cellphone_edit.xhtml" x="900" y="450" zoom="true"/>
+        <Node id="admin/product/admin_product_edit.xhtml" x="2150" y="300" zoom="true"/>
+        <Node id="login/login_contact_data_saved.xhtml" x="900" y="750" zoom="true"/>
+        <Node id="admin/country/admin_country_list.xhtml" x="900" y="900" zoom="true"/>
+        <Node id="admin/cellphone/admin_contact_cellphone_unlink.xhtml" x="1650" y="600" zoom="true"/>
+        <Node id="admin/customer/admin_customer_edit.xhtml" x="1650" y="450" zoom="true"/>
+        <Node id="admin/mobile_provider/admin_mobile_provider_delete.xhtml" x="1900" y="450" zoom="true"/>
+        <Node id="admin/mobile_provider/admin_mobile_provider_list.xhtml" x="150" y="600" zoom="true"/>
+        <Node id="customer/checkout.xhtml" x="1150" y="900" zoom="true"/>
+        <Node id="admin/product/admin_product_delete.xhtml" x="1900" y="150" zoom="true"/>
+        <Node id="basket.xhtml" x="2150" y="150" zoom="true"/>
+        <Node id="admin/cellphone/admin_contact_cellphone_delete.xhtml" x="150" y="150" zoom="true"/>
+        <Node id="admin/user/admin_user_delete.xhtml" x="650" y="150" zoom="true"/>
+        <Node id="exception.xhtml" x="1400" y="300" zoom="true"/>
+        <Node id="admin/category/admin_category_delete.xhtml" x="650" y="900" zoom="true"/>
+        <Node id="admin/user/admin_user_edit.xhtml" x="400" y="1050" zoom="true"/>
+        <Node id="terms.xhtml" x="2400" y="150" zoom="true"/>
+        <Node id="admin/contact/admin_contact_edit.xhtml" x="150" y="450" zoom="true"/>
+        <Node id="admin/contact/admin_contact_list.xhtml" x="900" y="600" zoom="true"/>
+        <Node id="admin/user/admin_user_list.xhtml" x="150" y="750" zoom="true"/>
+        <Node id="admin/country/admin_country_delete.xhtml" x="1400" y="750" zoom="true"/>
+        <Node id="login/login_user_data_saved.xhtml" x="400" y="1200" zoom="true"/>
+        <Node id="admin/category/admin_category_edit.xhtml" x="900" y="300" zoom="true"/>
+        <Node id="logout.xhtml" x="150" y="300" zoom="true"/>
+        <Node id="admin/country/admin_country_edit.xhtml" x="1400" y="600" zoom="true"/>
         <Node id="admin/contact/admin_contact_delete.xhtml" x="150" y="900" zoom="true"/>
-        <Node id="imprint.xhtml" x="1150" y="300" zoom="true"/>
-        <Node id="admin/mobile_provider/admin_mobile_provider_edit.xhtml" x="650" y="900" zoom="true"/>
-        <Node id="admin/cellphone/admin_contact_cellphone_show.xhtml" x="1900" y="150" zoom="true"/>
-        <Node id="admin/customer/admin_customer_list.xhtml" x="150" y="150" zoom="true"/>
-        <Node id="admin/product/admin_product_list.xhtml" x="1400" y="300" zoom="true"/>
-        <Node id="admin/customer/admin_customer_show.xhtml" x="1150" y="600" zoom="true"/>
-        <Node id="customer/empty_basket.xhtml" x="900" y="900" zoom="true"/>
+        <Node id="imprint.xhtml" x="400" y="600" zoom="true"/>
+        <Node id="admin/mobile_provider/admin_mobile_provider_edit.xhtml" x="1400" y="150" zoom="true"/>
+        <Node id="admin/cellphone/admin_contact_cellphone_show.xhtml" x="1900" y="300" zoom="true"/>
+        <Node id="admin/customer/admin_customer_list.xhtml" x="150" y="1350" zoom="true"/>
+        <Node id="admin/product/admin_product_list.xhtml" x="650" y="1050" zoom="true"/>
+        <Node id="admin/customer/admin_customer_show.xhtml" x="1650" y="300" zoom="true"/>
+        <Node id="customer/empty_basket.xhtml" x="650" y="450" zoom="true"/>
     </Scope>
     <Scope Scope="All Faces Configurations"/>
 </Scene>
index 07c00e88c8bac4cfa4e539dcf3bd93dfa487167b..6c5f7f604e4ce6bf1ec37229633f26dba04b0877 100644 (file)
@@ -352,3 +352,6 @@ CUSTOMER_ACCOUNT_STATUS_LOCKED=Gesperrt
 ADMIN_CUSTOMER_CREATED=Kunden erstellt:
 ADMIN_LINK_SHOW_CONTACT_TITLE=Kontaktdaten anzeigen
 ADMIN_LINK_SHOW_CUSTOMER_TITLE=Kundendaten anzeigen
+ADMIN_MENU_CONTACT_TITLE=Manage contact data
+LINK_ADMIN_LIST_CONTACT=Kontaktdaten auflisten
+LINK_ADMIN_LIST_CONTACT_TITLE=Listet alle Kontaktdaten auf, egal wo her sie angelegt wurden.
index ae13366d9bf95dcce728458874ad927fdcb5483d..87f42f672302d59646880b315dfe170965e624f9 100644 (file)
@@ -353,3 +353,6 @@ CUSTOMER_ACCOUNT_STATUS_LOCKED=Locked
 ADMIN_CUSTOMER_CREATED=Customer created:
 ADMIN_LINK_SHOW_CONTACT_TITLE=Show contact data
 ADMIN_LINK_SHOW_CUSTOMER_TITLE=Show customer data
+ADMIN_MENU_CONTACT_TITLE=Manage contact data
+LINK_ADMIN_LIST_CONTACT=List contact data
+LINK_ADMIN_LIST_CONTACT_TITLE=Lists all contact data regardless where they was created.
index eee240d17e1cc25b92747066667beb06d2b80b4b..f77844e30408c89c528bc7cee13399835895e783 100644 (file)
                        <from-outcome>admin_list_user</from-outcome>
                        <to-view-id>/admin/user/admin_user_list.xhtml</to-view-id>
                </navigation-case>
+               <navigation-case>
+                       <from-outcome>admin_list_contact</from-outcome>
+                       <to-view-id>/admin/contact/admin_contact_list.xhtml</to-view-id>
+               </navigation-case>
                <navigation-case>
                        <from-outcome>admin_list_countries</from-outcome>
                        <to-view-id>/admin/country/admin_country_list.xhtml</to-view-id>
index 456f305ea2e2ba5a251092ce0a3cd39182856a25..71c84bf603d389e84e7e82741b4ec1e8916d4579 100644 (file)
                                <li><h:link title="#{msg.LINK_ADMIN_LIST_USER_TITLE}" outcome="admin_list_user" value="#{msg.LINK_ADMIN_LIST_USER}" /></li>
                        </ul>
 
+                       <div class="menu_header">
+                               #{msg.ADMIN_MENU_CONTACT_TITLE}
+                       </div>
+
+                       <ul>
+                               <li><h:link title="#{msg.LINK_ADMIN_LIST_CONTACT_TITLE}" outcome="admin_list_contact" value="#{msg.LINK_ADMIN_LIST_CONTACT}" /></li>
+                       </ul>
+
                        <div class="menu_header">
                                #{msg.ADMIN_MENU_COUNTRY_TITLE}
                        </div>