diff --git a/productMods/WEB-INF/ontologies/user/vivo-core-1.1-annotations.rdf b/productMods/WEB-INF/ontologies/user/vivo-core-1.1-annotations.rdf index 6f7e24a8..1a9abe94 100644 --- a/productMods/WEB-INF/ontologies/user/vivo-core-1.1-annotations.rdf +++ b/productMods/WEB-INF/ontologies/user/vivo-core-1.1-annotations.rdf @@ -2516,6 +2516,7 @@ -1 -1 + informationResourceShortView.jsp @@ -3293,6 +3294,7 @@ has authorship This relates a person to their authorship information. + true diff --git a/productMods/templates/entity/authorshipShortView.jsp b/productMods/templates/entity/authorshipShortView.jsp index 00fd83fb..866c1317 100644 --- a/productMods/templates/entity/authorshipShortView.jsp +++ b/productMods/templates/entity/authorshipShortView.jsp @@ -11,10 +11,10 @@ <%-- this Authorship is linked to an InformationResource --%> - - <%-- --%> + + <%-- this Position is not linked to a Publication yet; use Authorship name as a placeholder and add link to the Authorship so user can add more information --%> @@ -60,10 +60,10 @@ - ">${name} ${label} + ">${name} ${label} ${year} - ${name} ${label} + ${name} ${label} ${year} diff --git a/productMods/templates/entity/informationResourceShortView.jsp b/productMods/templates/entity/informationResourceShortView.jsp new file mode 100644 index 00000000..8f3c2a71 --- /dev/null +++ b/productMods/templates/entity/informationResourceShortView.jsp @@ -0,0 +1,43 @@ +<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%> + +<%-- rjy7 NIHVIVO-1158 Under core:authorInAuthorship on a person's page, we are now displaying the object property statements +for the related property core:linkedInformationResource, so that we can collate by publication subclass. The subject is the +Authorship, and the object is the InformationResource, so the authorship short view defined on Authorships no longer applies. +We thus define an information resource short view to display the publications. --%> + +<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %> + + + <%-- individual is the OBJECT of the property referenced -- the InformationResource individual --%> + + + + + + + + + + + + + + + + + ">${name} ${year} + + + ${name} ${year} + + + + + + + + + + + + diff --git a/productMods/templates/entity/positionShortView.jsp b/productMods/templates/entity/positionShortView.jsp index 26d75d99..6108709f 100644 --- a/productMods/templates/entity/positionShortView.jsp +++ b/productMods/templates/entity/positionShortView.jsp @@ -4,22 +4,27 @@ <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> <%@ taglib uri="http://vitro.mannlib.cornell.edu/vitro/tags/StringProcessorTag" prefix="p" %> - + <%-- individual is the OBJECT of the property referenced -- the Position, not the Person or Organization --%> - - - - - - - - - - + + + + + + + + + + + + + + + <%-- use working title in preference to HR title --%>