]> git.mxchange.org Git - addressbook-war.git/commitdiff
new way, was not done here
authorRoland Häder <roland@mxchange.org>
Wed, 19 Apr 2017 13:46:38 +0000 (15:46 +0200)
committerRoland Häder <roland@mxchange.org>
Wed, 19 Apr 2017 13:46:38 +0000 (15:46 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
web/WEB-INF/templates/login/user/user_base.tpl

index bae64259efeec1674c8d7cee314cdc06f279f55d..12ea9db41cedcdcf951cf97f8fb8ea10409eacfe 100644 (file)
@@ -5,14 +5,20 @@
        xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
        xmlns:h="http://xmlns.jcp.org/jsf/html">
 
-       <ui:define name="title">#{msg.PAGE_TITLE_LOGIN_AREA} - <ui:insert name="login_title">Default login title</ui:insert></ui:define>
+       <ui:define name="title">
+               <h:outputText value="#{msg.PAGE_TITLE_USER_LOGIN_AREA}" /> - <ui:insert name="login_title">Default login title</ui:insert>
+       </ui:define>
 
        <ui:define name="menu">
                <ui:fragment rendered="#{userLoginController.isUserLoggedIn()}">
                        <ui:include id="menu" src="/WEB-INF/templates/login/user/user_menu.tpl" />
                </ui:fragment>
+
                <ui:fragment rendered="#{not userLoginController.isUserLoggedIn()}">
-                       <h:outputText styleClass="errors" value="#{msg.USER_NOT_LOGGED_IN}" />
+                       <ui:include src="/WEB-INF/templates/generic/message_box_mini.tpl">
+                               <ui:param name="message" value="#{msg.USER_NOT_LOGGED_IN}" />
+                               <ui:param name="styleClass" value="errors" />
+                       </ui:include>
                </ui:fragment>
        </ui:define>