Author: DavidK Date: 2010-02-19 20:01:30 +0100 (Fri, 19 Feb 2010) New Revision: 1800 Modified: trunk/server/webServer2/WebContent/styles/elvys-template.css trunk/server/webServer2/WebContent/template/elvys-template.xhtml Log: label with loged user Modified: trunk/server/webServer2/WebContent/styles/elvys-template.css =================================================================== --- trunk/server/webServer2/WebContent/styles/elvys-template.css 2010-02-19 16:57:57 UTC (rev 1799) +++ trunk/server/webServer2/WebContent/styles/elvys-template.css 2010-02-19 19:01:30 UTC (rev 1800) @@ -94,11 +94,18 @@ padding-left: 75px; border-top: 1px solid #B6B7B9; background-image: url("../images/logo_footnote.png"); - background-image: url("../images/logo_footnote.png"); background-position: left; background-repeat: no-repeat; } +.template-footnote-logged-user { + float: right; + margin-top: 0px; + padding-left: 5px; + padding-right: 0; + text-align: right; +} + .dr-table-subheadercell { } Modified: trunk/server/webServer2/WebContent/template/elvys-template.xhtml =================================================================== --- trunk/server/webServer2/WebContent/template/elvys-template.xhtml 2010-02-19 16:57:57 UTC (rev 1799) +++ trunk/server/webServer2/WebContent/template/elvys-template.xhtml 2010-02-19 19:01:30 UTC (rev 1800) @@ -10,7 +10,8 @@ xmlns:ui="http://java.sun.com/jsf/facelets"; xmlns:a4j="http://richfaces.org/a4j"; xmlns:s="http://jboss.com/products/seam/taglib"; - xmlns:rich="http://richfaces.org/rich";> + xmlns:rich="http://richfaces.org/rich"; + xmlns:elvys="http://www.elvys.farm.particle.cz";> <ui:define name="favicon"> <link rel="shortcut icon" type="image/vnd.microsoft.icon" href="/webServer2/favicon.ico" /> @@ -156,7 +157,13 @@ </ui:define> <ui:define name="footer"> - <h:outputText value="${lbl['login.createdby']}" styleClass="templateFootnote" /> + <div class="templateFootnote"> + <h:outputText value="${lbl['login.createdby']}" /> + <div class="template-footnote-logged-user"> + <elvys:userLabel id="loggedUser" value="#{user.user}"/> + <h:outputText value=", #{user.compStr}"/> + </div> + </div> </ui:define> <ui:define name="scriptBottom">