diff --git a/productMods/WEB-INF/ontologies/app/aboutPage.n3 b/productMods/WEB-INF/ontologies/app/aboutPage.n3 index b52685bb..cb26b08c 100644 --- a/productMods/WEB-INF/ontologies/app/aboutPage.n3 +++ b/productMods/WEB-INF/ontologies/app/aboutPage.n3 @@ -8,7 +8,7 @@ about:ABOUTDG """
The VIVO application enables the discovery of researchers across institutions. Participants in the network include institutions with local installations of VIVO or those with research discovery and profiling applications that can provide semantic web-compliant data. The information accessible through VIVO's search and browse capability will therefore reside and be controlled locally, within institutional VIVOs or other semantic web-compliant applications.
-VIVO is an open source semantic web application originally developed and implemented at Cornell. When installed and populated with content at an institution, it enables the discovery of research and scholarship across disciplines at that institution. VIVO supports browsing and a search function which returns faceted results for rapid retrieval of desired information. Content in any local VIVO installation may be maintained manually or brought into the database in automated ways from local systems of record, such as HR, RBIs, grants, course, and faculty activity databases.
+VIVO is an open source semantic web application originally developed and implemented at Cornell. When installed and populated with content at an institution, it enables the discovery of research and scholarship across disciplines at that institution. VIVO supports browsing and a search function which returns faceted results for rapid retrieval of desired information. Content in any local VIVO installation may be maintained manually or brought into the database in automated ways from local systems of record, such as grants, course, and faculty activity databases.
See more information on the VIVO Project.
<#--Checking if any required fields are empty--> + <#if lvf.submissionErrorExists(editSubmission, "presentationType")> + Please select a presentation type. + #if> <#if lvf.submissionErrorExists(editSubmission, "presentationLabel")> ${i18n().select_or_enter_name} #if> @@ -104,28 +107,28 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
-- +
- + (${i18n().verify_match_capitalized} ${i18n().or} ${i18n().change_selection})
+ +
@@ -143,7 +146,7 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
-
${i18n().or} ${i18n().cancel_link} @@ -169,13 +170,6 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
* ${i18n().required_fields}
- <#-- hide the html that gets written, and use java script to pass the value between the two --> -@@ -301,7 +300,6 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
${i18n().or} ${i18n().cancel_link} @@ -318,7 +316,7 @@ Set this flag on the input acUriReceiver where you would like this behavior to o sparqlForAcFilter: '${sparqlForAcFilter}', sparqlQueryUrl: '${sparqlQueryUrl}', acUrl: '${urls.base}/autocomplete?tokenize=true', - acTypes: {collection: 'http://purl.org/ontology/bibo/Periodical', book: 'http://purl.org/ontology/bibo/Book', conference: 'http://purl.org/NET/c4dm/event.owl#Event', event: 'http://purl.org/NET/c4dm/event.owl#Event', editor: 'http://xmlns.com/foaf/0.1/Person', publisher: 'http://xmlns.com/foaf/0.1/Organization'}, + acTypes: {publication: 'http://purl.org/ontology/bibo/Document', collection: 'http://purl.org/ontology/bibo/Periodical', book: 'http://purl.org/ontology/bibo/Book', conference: 'http://purl.org/NET/c4dm/event.owl#Event', event: 'http://purl.org/NET/c4dm/event.owl#Event', editor: 'http://xmlns.com/foaf/0.1/Person', publisher: 'http://xmlns.com/foaf/0.1/Organization'}, editMode: '${editMode}', defaultTypeName: 'publication', // used in repair mode to generate button text multipleTypeNames: {collection: 'publication', book: 'book', conference: 'conference', event: 'event', editor: 'editor', publisher: 'publisher'}, diff --git a/productMods/templates/freemarker/edit/forms/addResearcherRoleToPerson.ftl b/productMods/templates/freemarker/edit/forms/addResearcherRoleToPerson.ftl index 3a6181d8..6d76adc0 100644 --- a/productMods/templates/freemarker/edit/forms/addResearcherRoleToPerson.ftl +++ b/productMods/templates/freemarker/edit/forms/addResearcherRoleToPerson.ftl @@ -20,7 +20,10 @@ roleExamples--> <#--Variable assignments for Add Clinical Role To Person--> <#assign roleDescriptor = "${i18n().research_activity}" /> <#assign typeSelectorLabel = "${i18n().research_activity_type}" /> +<#assign genericLabel = "${i18n().research_activity?capitalize}" /> +<#assign acMultipleTypes = "'true'" /> +<#assign acTypes = "{activity: 'http://vivoweb.org/ontology/core#Project,http://vivoweb.org/ontology/core#Grant'}" /> <#--Each of the two stage forms will include the form below--> <#include "addRoleToPersonTwoStage.ftl"> \ No newline at end of file diff --git a/productMods/templates/freemarker/edit/forms/addReviewerRoleToPerson.ftl b/productMods/templates/freemarker/edit/forms/addReviewerRoleToPerson.ftl index 8f47007d..b5616f07 100644 --- a/productMods/templates/freemarker/edit/forms/addReviewerRoleToPerson.ftl +++ b/productMods/templates/freemarker/edit/forms/addReviewerRoleToPerson.ftl @@ -20,7 +20,10 @@ roleExamples--> <#--Variable assignments for Add Clinical Role To Person--> <#assign roleDescriptor = "${i18n().reviewer_of}" /> <#assign typeSelectorLabel = "${i18n().reviewer_of}" /> -<#assign buttonText = "${i18n().reviewer_role}" /> +<#assign genericLabel = "${i18n().item_capitalized}" /> + +<#assign acTypes = "{activity: 'http://vivoweb.org/ontology/core#InformationResource'}" /> <#--Each of the two stage forms will include the form below--> -<#include "addRoleToPersonTwoStage.ftl"> \ No newline at end of file +<#include "addRoleToPersonTwoStage.ftl"> + diff --git a/productMods/templates/freemarker/edit/forms/addRoleToPersonTwoStage.ftl b/productMods/templates/freemarker/edit/forms/addRoleToPersonTwoStage.ftl index b1048b7c..f5a4c7b3 100644 --- a/productMods/templates/freemarker/edit/forms/addRoleToPersonTwoStage.ftl +++ b/productMods/templates/freemarker/edit/forms/addRoleToPersonTwoStage.ftl @@ -153,9 +153,9 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
-- +
@@ -176,7 +176,7 @@ Set this flag on the input acUriReceiver where you would like this behavior to o+
#if> @@ -188,7 +188,7 @@ Set this flag on the input acUriReceiver where you would like this behavior to o ${htmlForElements["startField"]} ${yearHint} #if> <#else> -
${i18n().or} ${i18n().cancel_link} @@ -214,7 +214,10 @@ Set this flag on the input acUriReceiver where you would like this behavior to o var customFormData = { acUrl: '${urls.base}/autocomplete?tokenize=true', editMode: '${editMode}', - defaultTypeName: 'activity', // used in repair mode, to generate button text and org name field label + acTypes: ${acTypes!}, + <#if acMultipleTypes??>acMultipleTypes: ${acMultipleTypes!},#if> + // used in repair mode: button text and org name label + defaultTypeName: <#if genericLabel??>'${genericLabel}'<#else>'activity'#if>, baseHref: '${urls.base}/individual?uri=', blankSentinel: '${blankSentinel}', flagClearLabelForExisting: '${flagClearLabelForExisting}' diff --git a/productMods/templates/freemarker/edit/forms/addServiceProviderRoleToPerson.ftl b/productMods/templates/freemarker/edit/forms/addServiceProviderRoleToPerson.ftl index d78249cf..59775e5a 100644 --- a/productMods/templates/freemarker/edit/forms/addServiceProviderRoleToPerson.ftl +++ b/productMods/templates/freemarker/edit/forms/addServiceProviderRoleToPerson.ftl @@ -20,7 +20,9 @@ roleExamples--> <#--Variable assignments for Add Service Provider Role To Person--> <#assign roleDescriptor = "${i18n().service_to_profession}" /> <#assign typeSelectorLabel = "${i18n().service_to_profession_in}" /> -<#assign buttonText = "${i18n().service_provider_role}" /> +<#assign genericLabel = "${i18n().organization_capitalized}" /> + +<#assign acTypes = "{activity: 'http://xmlns.com/foaf/0.1/Organization'}" /> <#--Each of the two stage forms will include the form below--> diff --git a/productMods/templates/freemarker/edit/forms/addTeacherRoleToPerson.ftl b/productMods/templates/freemarker/edit/forms/addTeacherRoleToPerson.ftl index 646a7021..4a44a04d 100644 --- a/productMods/templates/freemarker/edit/forms/addTeacherRoleToPerson.ftl +++ b/productMods/templates/freemarker/edit/forms/addTeacherRoleToPerson.ftl @@ -22,5 +22,10 @@ roleExamples--> <#assign typeSelectorLabel = "${i18n().teaching_activity_type}" /> <#assign roleExamples = " (${i18n().teaching_role_hint})" /> +<#assign genericLabel = "${i18n().teaching_activity?capitalize}" /> + +<#assign acMultipleTypes = "'true'" /> +<#assign acTypes = "{activity: 'http://purl.org/ontology/bibo/Conference,http://vivoweb.org/ontology/core#Course,http://purl.org/ontology/bibo/Workshop'}" /> + <#--Each of the two stage forms will include the form below--> <#include "addRoleToPersonTwoStage.ftl"> \ No newline at end of file diff --git a/productMods/templates/freemarker/edit/forms/css/autocomplete.css b/productMods/templates/freemarker/edit/forms/css/autocomplete.css index d87f9aa3..eba09eb3 100644 --- a/productMods/templates/freemarker/edit/forms/css/autocomplete.css +++ b/productMods/templates/freemarker/edit/forms/css/autocomplete.css @@ -5,7 +5,7 @@ that don't load customFormWithAutocomplete.css still have access to these styles .acSelection { display: none; - margin-top: 2em; + margin-top: 1em; } .acSelectionInfo { background-color: #d9d9d9; diff --git a/productMods/templates/freemarker/edit/forms/personHasAdvisingRelationship.ftl b/productMods/templates/freemarker/edit/forms/personHasAdvisingRelationship.ftl index 9179385a..a07281a0 100644 --- a/productMods/templates/freemarker/edit/forms/personHasAdvisingRelationship.ftl +++ b/productMods/templates/freemarker/edit/forms/personHasAdvisingRelationship.ftl @@ -131,7 +131,8 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
-
diff --git a/productMods/templates/freemarker/edit/forms/personHasEducationalTraining.ftl b/productMods/templates/freemarker/edit/forms/personHasEducationalTraining.ftl index 01904b49..b2e06895 100644 --- a/productMods/templates/freemarker/edit/forms/personHasEducationalTraining.ftl +++ b/productMods/templates/freemarker/edit/forms/personHasEducationalTraining.ftl @@ -111,7 +111,7 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
-
-
${i18n().or}
@@ -207,6 +204,7 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
var customFormData = {
acUrl: '${urls.base}/autocomplete?tokenize=true&stem=true',
editMode: '${editMode}',
+ acTypes: {organization: 'http://xmlns.com/foaf/0.1/Organization'},
defaultTypeName: 'organization',
baseHref: '${urls.base}/individual?uri=',
blankSentinel: '${blankSentinel}',
diff --git a/productMods/templates/freemarker/edit/forms/personHasPositionHistory.ftl b/productMods/templates/freemarker/edit/forms/personHasPositionHistory.ftl
index 000eb201..988940a1 100644
--- a/productMods/templates/freemarker/edit/forms/personHasPositionHistory.ftl
+++ b/productMods/templates/freemarker/edit/forms/personHasPositionHistory.ftl
@@ -103,13 +103,13 @@ Set this flag on the input acUriReceiver where you would like this behavior to o
<#list orgTypeOpts?keys as key>
<#if orgTypeValue = key >
${orgTypeOpts[key]}
-
+
#if>
#list>
<#else>
#if>
-->
-
-
<#if editMode == "edit"> @@ -177,6 +175,7 @@ Set this flag on the input acUriReceiver where you would like this behavior to o