From 54da0ca235672fc00eb11e9ce5a3ae46df443030 Mon Sep 17 00:00:00 2001 From: rjy7 Date: Fri, 23 Jul 2010 18:09:25 +0000 Subject: [PATCH] Merge r1109 from http://svn.mannlib.cornell.edu/svn/vivo/branches/rel-1.1-maint --- productMods/templates/entity/roleShortView.jsp | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/productMods/templates/entity/roleShortView.jsp b/productMods/templates/entity/roleShortView.jsp index 11931b38..4cef3c96 100644 --- a/productMods/templates/entity/roleShortView.jsp +++ b/productMods/templates/entity/roleShortView.jsp @@ -22,7 +22,8 @@ Optional vars: --%> ${! empty param.startYearPredicate ? param.startYearPredicate : 'http://vivoweb.org/ontology/core#startYear'} - +${ startYearPredicate == 'http://vivoweb.org/ontology/core#startYear' } + <%-- individual is the OBJECT of the property referenced -- the Role individual, not the Person or grant --%> @@ -31,10 +32,13 @@ Optional vars: <%-- get years off role --%> - - - - -${endYear} + + + + + + + @@ -112,7 +116,7 @@ Optional vars: - ">${name} ${label} ${startYear}${endYear} ${errorMsg} + ">${name} ${label} ${startYear}${endYearVal} ${errorMsg} ${name} ${label} ${errorMsg}