minor template cleanup; set showRoleLabel to true
This commit is contained in:
parent
c8078c05f4
commit
86c363e3c2
5 changed files with 8 additions and 8 deletions
|
@ -21,6 +21,7 @@ roleExamples-->
|
|||
<#assign roleDescriptor = "presentation" />
|
||||
<#assign typeSelectorLabel = "presentation type" />
|
||||
<#assign buttonText = "Presentation Role" />
|
||||
<#assign roleExamples = "(e.g., Moderator, Speaker, Panelist)" />
|
||||
|
||||
<#--Each of the two stage forms will include the form below-->
|
||||
<#include "addRoleToPersonTwoStage.ftl">
|
|
@ -20,7 +20,7 @@ roleExamples-->
|
|||
<#--Variable assignments for Add Clinical Role To Person-->
|
||||
<#assign roleDescriptor = "teaching activity" />
|
||||
<#assign typeSelectorLabel = "teaching activity type" />
|
||||
|
||||
<#assign roleExamples = "(e.g., Instructor, Facilitator, Assistant)" />
|
||||
|
||||
<#--Each of the two stage forms will include the form below-->
|
||||
<#include "addRoleToPersonTwoStage.ftl">
|
|
@ -63,3 +63,4 @@
|
|||
|
||||
</section>
|
||||
|
||||
${stylesheets.add('<link rel="stylesheet" href="${urls.base}/edit/forms/css/customForm.css" />')}
|
||||
|
|
|
@ -68,9 +68,7 @@ public class AddServiceProviderRoleToPersonGenerator extends AddRoleToPersonTwoS
|
|||
literalOptions.put("http://vivoweb.org/ontology/core#University", "University");
|
||||
return literalOptions;
|
||||
}
|
||||
@Override
|
||||
boolean isShowRoleLabelField(){return true;}
|
||||
|
||||
@Override
|
||||
boolean isShowRoleLabelField() { return false; }
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -42,7 +42,7 @@ public class AddTeacherRoleToPersonGenerator extends AddRoleToPersonTwoStageGene
|
|||
return literalOptions;
|
||||
}
|
||||
|
||||
@Override
|
||||
boolean isShowRoleLabelField() { return false; }
|
||||
|
||||
@Override
|
||||
boolean isShowRoleLabelField(){return true;}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue