Open chenejac opened 4 years ago
Nicolas B Dickn said:
Problem is the following method in /vivo-project/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/configuration/generators/AddTeacherRoleToPersonGenerator.java :
/** Teacher role involves hard-coded options for the "right side"
* of the role or activity. */
@Override
FieldOptions getRoleActivityFieldOptions(VitroRequest vreq) throws Exception {
return new ConstantFieldOptions(
"", "Select one",
"http://purl.org/ontology/bibo/Conference", "Conference",
"http://vivoweb.org/ontology/core#Course", "Course",
"http://purl.org/ontology/bibo/Workshop", "Workshop");
}
I tried to apply the same method as in /vivo-project/api/src/main/java/edu/cornell/mannlib/vitro/webapp/edit/n3editing/configuration/generators/AddEditorRoleToPersonGenerator.java, without success.
This ticket should be taken by someone who has proper java skills – unlike me.
Nicolas B Dickn (Migrated from VIVO-1808) said:
In the French version of
People > [some individual] > Teaching > Teaching activities > add
The dropdown menu content is in English.