Move FreeMarker templates, controllers, setup, and library upgrades into trunk. Not used to generate any pages or templates yet (except a couple of hidden pages that are only available through the url).
This commit is contained in:
parent
72ee86f0a7
commit
a0c93fda6d
44 changed files with 2256 additions and 7 deletions
33
webapp/web/templates/freemarker/components/identity.ftl
Normal file
33
webapp/web/templates/freemarker/components/identity.ftl
Normal file
|
@ -0,0 +1,33 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<#import "/macros/list.ftl" as l>
|
||||
|
||||
<div id="identity">
|
||||
|
||||
<h1><a title="Home" href="${urls.home}">${siteName}</a></h1>
|
||||
|
||||
<#-- RY We will need this in non-NIHVIVO versions
|
||||
<#if tagline.has_content>
|
||||
<em>${tagline}</em>
|
||||
</#if>
|
||||
-->
|
||||
|
||||
<ul id="otherMenu">
|
||||
<@l.makeList>
|
||||
<#if loginName??>
|
||||
<li>
|
||||
Logged in as <strong>${loginName}</strong> (<a href="${urls.logout}">Log out</a>)
|
||||
</li>,
|
||||
<li><a href="${urls.siteAdmin}">Site Admin</a></li>,
|
||||
<#else>
|
||||
<li><a title="log in to manage this site" href="${urls.login}">Log in</a></li>,
|
||||
</#if>
|
||||
|
||||
<li><a href="${urls.about}$">About</a></li>,
|
||||
<li><a href="${urls.aboutFM}">About - FM</a></li>,
|
||||
<#if urls.contact??>
|
||||
<li><a href="${urls.contact}">Contact Us</a></li>
|
||||
</#if>
|
||||
</@l.makeList>
|
||||
</ul>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue