NIHVIVO-1230 NIHVIVO-1231 Example implementation of the Freemarker templates to show revision info.

This commit is contained in:
jeb228 2010-10-27 19:57:57 +00:00
parent b8fefaee00
commit a7a083c7b3
5 changed files with 84 additions and 8 deletions

View file

@ -0,0 +1,28 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#-- Template for the Revision Information page. -->
<div>
<h1>Revision Information</h1>
<h2>Build date:</h2>
<div>
${revisionInfoBean.buildDate?datetime?string.full}
</div>
<h2>Levels:</h2>
<table>
<tr>
<th>name</th>
<th>release</th>
<th>revision</th>
</tr>
<#list revisionInfoBean.levelInfos as level>
<tr>
<td>${level.name}</td>
<td>${level.release}</td>
<td>${level.revision}</td>
</tr>
</#list>
</table>
</div>

View file

@ -5,6 +5,6 @@
<#-- Only show version info if user is logged in -->
<#if loginName??>
<div id="version">
Version ${version.number}
Version <a href="${version.moreInfoUrl}">${version.label}</a>
</div>
</#if>