]> git.mxchange.org Git - pizzaservice-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:47:10 +0000 (15:47 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
web/WEB-INF/templates/login/user/user_base.tpl

index 8eacaf2401c2324eab13469011246999a8a72ebe..12ea9db41cedcdcf951cf97f8fb8ea10409eacfe 100644 (file)
@@ -5,7 +5,9 @@
        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: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>