[gatein-commits] gatein SVN: r8009 - epp/portal/branches/EPP_5_2_Branch/portlet/web/src/main/webapp/groovy/groovy/webui/component.

do-not-reply at jboss.org do-not-reply at jboss.org
Tue Nov 8 16:32:08 EST 2011


Author: hfnukal
Date: 2011-11-08 16:32:07 -0500 (Tue, 08 Nov 2011)
New Revision: 8009

Modified:
   epp/portal/branches/EPP_5_2_Branch/portlet/web/src/main/webapp/groovy/groovy/webui/component/UIFooterPortlet.gtmpl
Log:
JBEPP-1349 Version number in footer

Modified: epp/portal/branches/EPP_5_2_Branch/portlet/web/src/main/webapp/groovy/groovy/webui/component/UIFooterPortlet.gtmpl
===================================================================
--- epp/portal/branches/EPP_5_2_Branch/portlet/web/src/main/webapp/groovy/groovy/webui/component/UIFooterPortlet.gtmpl	2011-11-08 10:47:13 UTC (rev 8008)
+++ epp/portal/branches/EPP_5_2_Branch/portlet/web/src/main/webapp/groovy/groovy/webui/component/UIFooterPortlet.gtmpl	2011-11-08 21:32:07 UTC (rev 8009)
@@ -1,3 +1,7 @@
+<%
+Package p = _ctx.getClass().getPackage();
+String version = p==null?"":"EPP "+p.getImplementationVersion();
+%>
 <div class="UIFooterPortlet" id="$uicomponent.id">
 	<div class="LeftFooter">
 		<div class="RightFooter">
@@ -3,5 +7,5 @@
 			<div class="RepeatFooter">
 				<div class="FooterInfoContainer">
-					<div class="CopyrightInfo"><%=_ctx.appRes("UIPortalToolPanel.label.copyrightText")%><%=_ctx.appRes("UIPortalToolPanel.label.companyTitleText")%></div>
+					<div class="CopyrightInfo" title="<%= version %>"><%=_ctx.appRes("UIPortalToolPanel.label.copyrightText")%><%=_ctx.appRes("UIPortalToolPanel.label.companyTitleText")%></div>
 				</div>
 			</div>



More information about the gatein-commits mailing list