#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#-- Login widget -->
<#macro assets>
<#-- RY This test should be replaced by login widget controller logic which displays different assets macros depending
on login status, but currently there's no widget-specific doAssets() method. See NIHVIVO-1357. The test doesn't work
because we don't have the user in the template data model when we generate the assets. This can also be fixed by
NIHVIVO-1357.
<#if ! user.loggedIn> -->
${stylesheets.add("/css/login.css")}
<#-- ${scripts.add("")} -->
${headScripts.add("/js/login/loginUtils.js")}
<#-- #if> -->
#macro>
<#macro loginForm>
<#-- Don't display the JavaScript required to edit message on the home page even if JavaScript is unavailable -->
<#if currentServlet != 'home'>
#if>
${errorMessage} or ${errorMessage} Minimum of 6 characters in length. or CancelLog in
<#if infoMessage??>
${infoMessage}
#if>
<#if errorMessage??>
Log in using your ${siteName} account
#if>
<#-- NC: remember me won't be ready for r1.2
-->
<#-- mb863: forgot password and request an account won't be part of VIVO r1.2
-->
Change Password to Log in
<#if errorMessage??>
You are already logged in.
#macro> <#macro error>There was an error in the system.
#macro>