]> git.mxchange.org Git - jjobs-war.git/blobdiff - web/imprint.xhtml
other projects will have more than one login, not just users
[jjobs-war.git] / web / imprint.xhtml
index 8965e3f6d2e42d8ad2af74fa8bc728ea8c72db36..3a54f92c939d39c67b85e396da593562dfff4cee 100644 (file)
@@ -7,15 +7,19 @@
        xmlns:f="http://xmlns.jcp.org/jsf/core"
        >
 
-       <ui:composition template="/WEB-INF/templates/#{userLoginController.templateType}/#{userLoginController.templateType}_base.tpl">
-               <ui:define name="guest_title">#{msg.PAGE_TITLE_INDEX_IMPRINT}</ui:define>
+       <ui:composition template="/WEB-INF/templates/#{userLoginController.baseTemplatePathName}_base.tpl">
+               <ui:define name="guest_title">
+                       <h:outputText value="#{msg.PAGE_TITLE_INDEX_IMPRINT}" />
+               </ui:define>
 
                <ui:define name="content_header">
-                       #{msg.CONTENT_TITLE_INDEX_IMPRINT}
+                       <h:outputText value="#{msg.CONTENT_TITLE_INDEX_IMPRINT}" />
                </ui:define>
 
                <ui:define name="content">
-                       TODO: Hier kommt das Impressum hin!
+                       <ui:fragment rendered="#{featureController.isFeatureEnabled('imprint')}">
+                               TODO: Hier kommt das Impressum hin!
+                       </ui:fragment>
                </ui:define>
        </ui:composition>
 </html>