<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%> <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> <%@ taglib uri="http://vitro.mannlib.cornell.edu/vitro/tags/StringProcessorTag" prefix="p" %> <%-- This short view is intended to be called to handle short views for roles The following vars should be set by the jsp that is calling this short view personToRolePredicate: URI of the person to role predicate. roleToPersonPredicate: URI of the role to person predicate. roleActivityToRolePredicate: URI of the activity to role predicate. roleLabelForPerson: human readable label for person when viewing from non-person side of role. Most short views don't specify this value because the role name is displayed instead. Grant-related short views specify this value because there is no specific role name. roleActivityLabel: human readable label of activity used for error messages --%> <%-- individual is the OBJECT of the property referenced -- the Role individual, not the Person or grant --%> <%-- get years off role --%> -${endYear} <%-- SUBJECT is a Person, so get info from other part of the role --%> <%-- On the person page, it's redundant to display the role label in this case, since the object property label contains the same information. --%> <%-- This Role is not linked to anything yet; use name as a placeholder and add link to the Role so user can add more information. --%> <%-- SUBJECT is an activity of some sort, so get info from the Role about the related Person --%> <%-- there is a related Person --%> <%-- this is a Role with out a Person (likely from before custom form available) --%> <%-- only show error messages if logged in --%> <%-- output the actual html --%> ">${name} ${label} ${startYear}${endYear} ${errorMsg} ${name} ${label} ${errorMsg}