]> git.mxchange.org Git - jjobs-war.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Thu, 20 Apr 2017 09:14:04 +0000 (11:14 +0200)
committerRoland Häder <roland@mxchange.org>
Thu, 20 Apr 2017 09:15:23 +0000 (11:15 +0200)
- XML header added
- admin_logout is now the outcome

Signed-off-by: Roland Häder <roland@mxchange.org>
web/WEB-INF/faces-config.xml
web/WEB-INF/templates/admin/admin_menu.tpl

index 543545e3835894fae1b44f3ab30089d7cb31c0a8..089188c11de941c8537c0bf102155c922bca3542 100644 (file)
                        <from-outcome>logout</from-outcome>
                        <to-view-id>/logout.xhtml</to-view-id>
                </navigation-case>
+               <navigation-case>
+                       <from-outcome>admin_logout</from-outcome>
+                       <to-view-id>/admin/admin_logout.xhtml</to-view-id>
+               </navigation-case>
                <navigation-case>
                        <from-outcome>admin_index</from-outcome>
                        <to-view-id>/admin/index.xhtml</to-view-id>
index ce53c0588669eeab315358342981ab577a36f5d5..b865ba022208e5e19d6b8e2870e857a4c5941030 100644 (file)
@@ -64,7 +64,7 @@
                        </div>
 
                        <ul>
-                               <li><h:link title="#{msg.LINK_ADMIN_LOGOUT_TITLE}" outcome="logout" value="#{msg.LINK_ADMIN_LOGOUT}" /></li>
+                               <li><h:link title="#{msg.LINK_ADMIN_LOGOUT_TITLE}" outcome="admin_logout" value="#{msg.LINK_ADMIN_LOGOUT}" /></li>
                                <li><h:link title="#{msg.LINK_ADMIN_TO_WEBPAGE_TITLE}" outcome="index" value="#{msg.LINK_ADMIN_TO_WEBPAGE}" /></li>
                        </ul>
                </div>