From a619aef0afdbe1cd16422df6724947314b70a8a6 Mon Sep 17 00:00:00 2001 From: bdc34 Date: Thu, 15 Jul 2010 01:27:50 +0000 Subject: [PATCH] Adding dates to role short view NIHVIVO-814 --- .../templates/entity/roleShortView.jsp | 20 +++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/productMods/templates/entity/roleShortView.jsp b/productMods/templates/entity/roleShortView.jsp index 1731c9f7..c06c966c 100644 --- a/productMods/templates/entity/roleShortView.jsp +++ b/productMods/templates/entity/roleShortView.jsp @@ -17,11 +17,21 @@ <%-- individual is the OBJECT of the property referenced -- the Role individual, not the Person or grant --%> - <%-- c:set var="authorRank" value="${individual.dataPropertyMap['http://vivoweb.org/ontology/core#authorRank'].dataPropertyStatements[0].data}"/ --%> + + + + <%-- get years off role --%> + + + + + -${endYear} + + + - <%-- SUBJECT is a Person, so get info from other part of the role --%> @@ -29,7 +39,7 @@ - + <%-- this Role is not linked to a anything yet; use name as a placeholder and add link to the Role so user can add more information --%> @@ -82,15 +92,17 @@ + <%-- output the actual html --%> - ">${name} ${label} + ">${name} ${roleLabel} ${label} ${startYear}${endYear} ${name} ${label} +