NIHVIVO-1393 for the external login button, put the entire text in the deploy.properties value.

This commit is contained in:
jeb228 2010-12-07 18:41:02 +00:00
parent 6e7afb976d
commit 1bad0658cb
2 changed files with 2 additions and 2 deletions

View file

@ -120,7 +120,7 @@ public class LoginWidget extends Widget {
values.put(TemplateVariable.FORM_ACTION.toString(), getAuthenticateUrl(request));
values.put(TemplateVariable.LOGIN_NAME.toString(), bean.getUsername());
String externalAuthDisplayName = ConfigurationProperties.getProperty("externalAuth.displayName");
String externalAuthDisplayName = ConfigurationProperties.getProperty("externalAuth.buttonText");
if (externalAuthDisplayName != null) {
values.put(TemplateVariable.EXTERNAL_AUTH_URL.toString(),
UrlBuilder.getUrl(EXTERNAL_AUTH_SETUP_URL));

View file

@ -50,7 +50,7 @@
<#if externalAuthUrl??>
<p class="external-auth">
<a class="green button" href="${externalAuthUrl}">Log in using ${externalAuthName}</a>
<a class="green button" href="${externalAuthUrl}">${externalAuthName}</a>
</p>
</#if>