NIHVIVO-1386 Self-editors don't get SiteAdmin link in top nav. They also don't get revision info link in footer. Implemented with new User template model class. Changed tests for loginName, showFlag1Status in templates to use this object.

This commit is contained in:
rjy7 2010-11-23 01:28:39 +00:00
parent 130b641081
commit ca6ab8288e
18 changed files with 225 additions and 77 deletions

View file

@ -3,9 +3,9 @@
<#-- Login widget -->
<#macro assets>
<#-- RY This test should be replaced by controller logic which doesn't display any assets if the user is logged in.
See NIHVIVO-1357. This test does nothing, since loginName has not been put into the data model.
<#if ! loginName?has_content> -->
<#-- RY This test should be replaced by widget controller logic which doesn't display any assets if the user is logged in.
See NIHVIVO-1357. This test does nothing, since user has not been put into the data model.
<#if ! user.loggedIn> -->
${stylesheets.add("/css/login.css")}
${scripts.add("/js/jquery.js", "/js/login/loginUtils.js")}
<#-- ${headScripts.add("")} -->