From 60d50e4d00e8721a067fbc5f91882e1911bb23e4 Mon Sep 17 00:00:00 2001 From: bdc34 Date: Wed, 14 Jul 2010 18:10:33 +0000 Subject: [PATCH] Adding support for core:Investigator to addGrantRoleToPerson custom form NIHVIVO-807 --- productMods/edit/forms/addGrantRoleToPerson.jsp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/productMods/edit/forms/addGrantRoleToPerson.jsp b/productMods/edit/forms/addGrantRoleToPerson.jsp index 67732b59..e20af304 100644 --- a/productMods/edit/forms/addGrantRoleToPerson.jsp +++ b/productMods/edit/forms/addGrantRoleToPerson.jsp @@ -60,10 +60,14 @@ if ( ((String)request.getAttribute("predicateUri")).endsWith("hasPrincipalInvest http://vivoweb.org/ontology/core#PrincipalInvestigatorRole Principal Investigator Create a new principal investigator entry for <%= subjectName %> - <% }else{ %> + <% }else if ( ((String)request.getAttribute("predicateUri")).endsWith("hasCo-PrincipalInvestigatorRole") ) { %> http://vivoweb.org/ontology/core#CoPrincipalInvestigatorRole Co-Principal Investigator Create a new co-principal investigator entry for <%= subjectName %> + <% }else { %> + http://vivoweb.org/ontology/core#InvestigatorRole + Investigator + Create a new investigator entry for <%= subjectName %> <% } %>