NIHVIVO-2279 in add/edit forms, change field name from "degreeUri" to "newProfileClassUri".
This commit is contained in:
parent
644e73b6ac
commit
7ab20aaeec
4 changed files with 5 additions and 5 deletions
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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');
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue