[VIVO-1245] Cleanup of ManageLabelsGenerator

This commit is contained in:
Graham Triggs 2016-05-24 21:52:32 +01:00
parent 64eb1ca6c2
commit 5cbcab5bcc
2 changed files with 8 additions and 1 deletions

View file

@ -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" />
</#function>

View file

@ -4,6 +4,8 @@
Macros and functions for working with properties and property lists Macros and functions for working with properties and property lists
------------------------------------------------------------------------------> ------------------------------------------------------------------------------>
<#include "lib-properties-classes.ftl" />
<#-- Return true iff there are statements for this property --> <#-- Return true iff there are statements for this property -->
<#function hasStatements propertyGroups propertyName> <#function hasStatements propertyGroups propertyName>
@ -302,7 +304,7 @@ name will be used as the label. -->
<#if editable> <#if editable>
<#assign imageAlt = "${i18n().manage}" /> <#assign imageAlt = "${i18n().manage}" />
<#assign linkTitle = "${i18n().manage_list_of_labels}"> <#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> <#else>
<#assign linkTitle = "${i18n().view_list_of_labels}"> <#assign linkTitle = "${i18n().view_list_of_labels}">
<#assign imageAlt = "${i18n().view}" /> <#assign imageAlt = "${i18n().view}" />