office-dynamixs-ai/dynamixs-ai-app/docker/deployments/dynamixs-ai.war/layout/header.xhtml
2025-05-31 14:46:56 +02:00

26 lines
956 B
HTML

<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://xmlns.jcp.org/jsf/core"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
<!-- Header depends on authentication -->
<ui:fragment rendered="#{(!loginController.authenticated)}">
<div id="imixs-branding">
<div id="imixs-branding-text">
<ui:param name="title"
value="#{propertyController.getProperty('application.title')}"></ui:param>
<h:outputText rendered="#{empty title}" value="#{resourceBundleHandler.findMessage('application_title')}" />
<h:outputText rendered="#{!empty title}" value="#{title}" />
<span style="color: red;">
#{propertyController.getProperty('application.mode')}</span>
</div>
</div>
</ui:fragment>
<ui:fragment
rendered="#{(loginController.authenticated) and (!empty historyController.workitems)}">
<ui:include src="/layout/historynav.xhtml" />
</ui:fragment>
</ui:composition>