]> git.mxchange.org Git - addressbook-war.git/commitdiff
added notice about if the user is not sharing address books as this is the secondary...
authorRoland Haeder <roland@mxchange.org>
Wed, 14 Oct 2015 08:41:42 +0000 (10:41 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 14 Oct 2015 08:41:42 +0000 (10:41 +0200)
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/WEB-INF/faces-config.xml
web/login/login_shared_addressbooks.xhtml

index 9a97a5bdb196ebef48a6bd7ea223ece86e5855f0..1a87bd56488d1a800be45dc8f5dc7199814c45f8 100644 (file)
@@ -194,3 +194,7 @@ LINK_LOGIN_SHARED_ADDRESS_BOOKS=Mit anderen geteilt
 LINK_LOGIN_SHARED_ADDRESS_BOOKS_TITLE=Mit anderen Benutzern geteilte Adressb\u00fccher
 PAGE_TITLE_LOGIN_SHARED_ADDRESSBOOKS=Mit anderen geteilte Adressb\u00fccher
 CONTENT_TITLE_LOGIN_SHARED_ADDRESSBOOKS=Meine mit anderen Benutzern geteilte Adressb\u00fccher:
+LINK_LOGIN_START_SHARING_ADDRESSBOOKS=Jetzt Ihre Adressb\u00fccher mit anderen Mitgliedern teilen!
+LOGIN_TABLE_HEADER_SHARED_ADDRESSBOOKS=Meine mit anderen Benutzern geteilte Adressb\u00fccher
+TABLE_SUMMARY_SHARED_ADDRESSBOOKS=Diese Tabelle listed alle von Ihnen mit anderen Benutzern geteilte Adressb\u00fccher auf.
+LOGIN_USER_HAS_NOT_SHARED_ADDRESSBOOKS=Derzeit teilen Sie keine Adressb\u00fccher mit anderen Benutzern.
index 0722a35092bdbe7d103d9510e4b4aa22803f2eee..4ea8d2f4c3c9a43043d7016746e37ac6aaa2285a 100644 (file)
@@ -194,3 +194,7 @@ LINK_LOGIN_SHARED_ADDRESS_BOOKS=Shared with others
 LINK_LOGIN_SHARED_ADDRESS_BOOKS_TITLE=With other users shared address books
 PAGE_TITLE_LOGIN_SHARED_ADDRESSBOOKS=With others shared address books
 CONTENT_TITLE_LOGIN_SHARED_ADDRESSBOOKS=Mine with other users shared address books:
+LINK_LOGIN_START_SHARING_ADDRESSBOOKS=Start now sharing your address books with other users!
+LOGIN_TABLE_HEADER_SHARED_ADDRESSBOOKS=My with other users shared address books
+TABLE_SUMMARY_SHARED_ADDRESSBOOKS=This table lists all your with other users shared address books.
+LOGIN_USER_HAS_NOT_SHARED_ADDRESSBOOKS=Currently you don't share any address books with other users.
index 51d4e5db40a8b544b004ec9359b5d76d36d37a91..be48264e70fc07d17d97ca0d35ab85f10cc016df 100644 (file)
                        <from-outcome>login_edit_user_data</from-outcome>
                        <to-view-id>/login/login_edit_user_data.xhtml</to-view-id>
                </navigation-case>
+               <navigation-case>
+                       <from-outcome>login_shared_addressbooks</from-outcome>
+                       <to-view-id>/login/login_shared_addressbooks.xhtml</to-view-id>
+               </navigation-case>
        </navigation-rule>
        <navigation-rule>
                <from-view-id>/user/login.xhtml</from-view-id>
index 1d50a5f55cca03385102d11fc2fcda7ce9695b43..8796fef33c9ac58262749f23422ec7223f2f6133 100644 (file)
                <ui:define name="content">
                        <div class="table">
                                <div class="table_header">
-                                       <h:dataTable id="sharedAddressbooks" summary="#{msg.TABLE_SUMMARY_SHARED_ADDRESSBOOKS}" var="shares" value="#{addressbookController.allShares()}" rendered="#{shareController.isSharingAddressbooks()}">
-                                       </h:dataTable>
+                                       #{msg.LOGIN_TABLE_HEADER_SHARED_ADDRESSBOOKS}
+                               </div>
+
+                               <h:dataTable id="sharedAddressbooks" summary="#{msg.TABLE_SUMMARY_SHARED_ADDRESSBOOKS}" var="shares" value="#{addressbookController.allShares()}" rendered="#{shareController.isSharingAddressbooks()}">
+                               </h:dataTable>
+
+                               <h:outputText class="notice" value="#{msg.LOGIN_USER_HAS_NOT_SHARED_ADDRESSBOOKS}" rendered="#{shareController.isSharingAddressbooks() == false}" />
+
+                               <div class="table_footer">
+                                       <h:link id="shareAddressbook" outcome="login_user_list" title="#{msg.LINK_LOGIN_START_SHARING_ADDRESSBOOKS_TITLE}" value="#{msg.LINK_LOGIN_START_SHARING_ADDRESSBOOKS}" />
                                </div>
                        </div>
                </ui:define>