NIHVIVO-2279 in add/edit forms, change field name from "degreeUri" to "newProfileClassUri".

This commit is contained in:
j2blake 2011-07-12 14:23:34 +00:00
parent 644e73b6ac
commit 7ab20aaeec
4 changed files with 5 additions and 5 deletions

View file

@ -32,7 +32,7 @@ public class UserAccountsAddPage extends UserAccountsPage {
private static final String PARAMETER_LAST_NAME = "lastName";
private static final String PARAMETER_ROLE = "role";
private static final String PARAMETER_ASSOCIATED_PROFILE_URI = "associatedProfileUri";
private static final String PARAMETER_NEW_PROFILE_CLASS_URI = "degreeUri";
private static final String PARAMETER_NEW_PROFILE_CLASS_URI = "newProfileClassUri";
private static final String ERROR_NO_EMAIL = "errorEmailIsEmpty";
private static final String ERROR_EMAIL_IN_USE = "errorEmailInUse";

View file

@ -37,7 +37,7 @@ public class UserAccountsEditPage extends UserAccountsPage {
private static final String PARAMETER_LAST_NAME = "lastName";
private static final String PARAMETER_ROLE = "role";
private static final String PARAMETER_ASSOCIATED_PROFILE_URI = "associatedProfileUri";
private static final String PARAMETER_NEW_PROFILE_CLASS_URI = "degreeUri";
private static final String PARAMETER_NEW_PROFILE_CLASS_URI = "newProfileClassUri";
private static final String ERROR_NO_EMAIL = "errorEmailIsEmpty";
private static final String ERROR_EMAIL_IN_USE = "errorEmailInUse";

View file

@ -47,7 +47,7 @@ var associateProfileFields = {
// We want to associate a profile
this.associationOptionsArea = $('#associationOptions');
this.associateProfileNameField = $('#associateProfileName');
this.newProfileClassSelector = $('#degreeUri');
this.newProfileClassSelector = $('#newProfileClassUri');
// Container <div> elements to provide background shading -- tlw72
this.associateProfileBackgroundOneArea = $('#associateProfileBackgroundOne');

View file

@ -38,10 +38,10 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/edit/forms/css/auto
<p> - or - </p>
<p>
<label for="">Create the associated profile</label>
<select name="degreeUri" id="degreeUri" >
<select name="newProfileClassUri" id="newProfileClassUri" >
<option value="" selected="selected">Select one</option>
<#list profileTypes?keys as key>
<option value="${key}" <#if degreeUri = key> selected </#if> >${profileTypes[key]}</option>
<option value="${key}" <#if newProfileClassUri = key> selected </#if> >${profileTypes[key]}</option>
</#list>
</select>
</p>