diff --git a/webapp/src/main/webapp/templates/freemarker/lib/lib-properties-classes.ftl b/webapp/src/main/webapp/templates/freemarker/lib/lib-properties-classes.ftl new file mode 100644 index 000000000..0a8ee084a --- /dev/null +++ b/webapp/src/main/webapp/templates/freemarker/lib/lib-properties-classes.ftl @@ -0,0 +1,5 @@ +<#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> + +<#function class_ManageLabelsGenerator> + <#return "edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.VIVOManageLabelsGenerator" /> + \ No newline at end of file diff --git a/webapp/src/main/webapp/templates/freemarker/lib/lib-properties.ftl b/webapp/src/main/webapp/templates/freemarker/lib/lib-properties.ftl index ab06eaf47..7b6f86805 100644 --- a/webapp/src/main/webapp/templates/freemarker/lib/lib-properties.ftl +++ b/webapp/src/main/webapp/templates/freemarker/lib/lib-properties.ftl @@ -4,6 +4,8 @@ Macros and functions for working with properties and property lists ------------------------------------------------------------------------------> +<#include "lib-properties-classes.ftl" /> + <#-- Return true iff there are statements for this property --> <#function hasStatements propertyGroups propertyName> @@ -302,7 +304,7 @@ name will be used as the label. --> <#if editable> <#assign imageAlt = "${i18n().manage}" /> <#assign linkTitle = "${i18n().manage_list_of_labels}"> - <#assign labelLink= "${urls.base}/editRequestDispatch?subjectUri=${individualUri}&editForm=edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.ManageLabelsGenerator&predicateUri=${labelPropertyUri}${extraParameters}"> + <#assign labelLink= "${urls.base}/editRequestDispatch?subjectUri=${individualUri}&editForm=${class_ManageLabelsGenerator}&predicateUri=${labelPropertyUri}${extraParameters}"> <#else> <#assign linkTitle = "${i18n().view_list_of_labels}"> <#assign imageAlt = "${i18n().view}" />