diff --git a/productMods/templates/freemarker/edit/forms/js/adviseeRelationshipUtils.js b/productMods/templates/freemarker/edit/forms/js/adviseeRelationshipUtils.js
index acf69156..88cba06f 100644
--- a/productMods/templates/freemarker/edit/forms/js/adviseeRelationshipUtils.js
+++ b/productMods/templates/freemarker/edit/forms/js/adviseeRelationshipUtils.js
@@ -83,7 +83,7 @@ var adviseeRelUtils = {
// we don't want the user to see the label getting built, so hide the acSelector
// field and display a bogus field that just has the last name in it.
this.fauxLabel.val(lastName);
- this.advisee.hide();
+ this.advisor.hide();
this.fauxLabel.show();
this.advisor.val(name);
this.lastName.val(lastName);
diff --git a/productMods/templates/freemarker/edit/forms/manageWebpagesForIndividual.ftl b/productMods/templates/freemarker/edit/forms/manageWebpagesForIndividual.ftl
index 81f38396..c4f0b1d0 100644
--- a/productMods/templates/freemarker/edit/forms/manageWebpagesForIndividual.ftl
+++ b/productMods/templates/freemarker/edit/forms/manageWebpagesForIndividual.ftl
@@ -11,7 +11,6 @@
<#assign deleteWebpageUrl=editConfiguration.pageData.deleteWebpageUrl!"deleteWebpageUrl is undefined">
<#assign showAddFormUrl=editConfiguration.pageData.showAddFormUrl!"showAddFormUrl is undefined">
<#assign predicateUri=editConfiguration.predicateUri!"undefined">
-<#assign domainUri = editConfiguration.predicateProperty.domainVClassURI!"">
<#if (editConfiguration.pageData.subjectName??) >
${editConfiguration.pageData.subjectName}
@@ -57,7 +56,7 @@
<#-- There is no editConfig at this stage, so we don't need to go through postEditCleanup.jsp on cancel.
These can just be ordinary links, rather than a v:input element, as in
addAuthorsToInformationResource.jsp. -->
- ${i18n().add_new_web_page}
+ ${i18n().add_new_web_page}
${i18n().return_to_profile}
diff --git a/rdf/display/everytime/PropertyConfig.n3 b/rdf/display/everytime/PropertyConfig.n3
index 796c6065..6fe747af 100644
--- a/rdf/display/everytime/PropertyConfig.n3
+++ b/rdf/display/everytime/PropertyConfig.n3
@@ -1481,7 +1481,7 @@ local:awardOrHonorReceiptsConfig a :ObjectPropertyDisplayConfig ;
:listViewConfigFile "listViewConfig-default.xml"^^xsd:string ;
:displayName "receipts" ;
vitro:displayRankAnnot 3;
- vitro:hiddenFromDisplayBelowRoleLevelAnnot role:nobody ;
+ vitro:hiddenFromDisplayBelowRoleLevelAnnot role:public ;
vitro:prohibitedFromUpdateBelowRoleLevelAnnot role:nobody ;
:propertyGroup .
diff --git a/src/edu/cornell/mannlib/vitro/webapp/edit/n3editing/configuration/generators/ManageWebpagesForIndividualGenerator.java b/src/edu/cornell/mannlib/vitro/webapp/edit/n3editing/configuration/generators/ManageWebpagesForIndividualGenerator.java
index 90effba9..8911b395 100644
--- a/src/edu/cornell/mannlib/vitro/webapp/edit/n3editing/configuration/generators/ManageWebpagesForIndividualGenerator.java
+++ b/src/edu/cornell/mannlib/vitro/webapp/edit/n3editing/configuration/generators/ManageWebpagesForIndividualGenerator.java
@@ -61,11 +61,20 @@ public class ManageWebpagesForIndividualGenerator extends BaseEditConfigurationG
config.addFormSpecificData("baseEditWebpageUrl", path);
+ //Also add domainUri and rangeUri if they exist, adding here instead of template
+ String domainUri = (String) vreq.getParameter("domainUri");
+ String rangeUri = (String) vreq.getParameter("rangeUri");
paramMap = new ParamMap();
paramMap.put("subjectUri", config.getSubjectUri());
paramMap.put("predicateUri", config.getPredicateUri());
paramMap.put("editForm" , this.getEditForm() );
paramMap.put("cancelTo", "manage");
+ if(domainUri != null && !domainUri.isEmpty()) {
+ paramMap.put("domainUri", domainUri);
+ }
+ if(rangeUri != null && !rangeUri.isEmpty()) {
+ paramMap.put("rangeUri", rangeUri);
+ }
path = UrlBuilder.getUrl( UrlBuilder.Route.EDIT_REQUEST_DISPATCH ,paramMap);
config.addFormSpecificData("showAddFormUrl", path);
diff --git a/src/org/vivoweb/webapp/util/ModelUtils.java b/src/org/vivoweb/webapp/util/ModelUtils.java
index 629d9f52..b59dc4ca 100644
--- a/src/org/vivoweb/webapp/util/ModelUtils.java
+++ b/src/org/vivoweb/webapp/util/ModelUtils.java
@@ -103,6 +103,7 @@ public class ModelUtils {
List properties = new ArrayList();
properties.add(processPropertyURI);
properties.add(nonProcessPropertyURI);
+ properties.add(grantPropertyURI);
return properties;
}
@@ -110,6 +111,7 @@ public class ModelUtils {
List properties = new ArrayList();
properties.add(processPropertyInverseURI);
properties.add(nonProcessPropertyInverseURI);
+ properties.add(grantPropertyInverseURI);
return properties;
}
}