NIHVIVO 2465 and 2485 display and manage multiple rdfs labels

This commit is contained in:
tworrall 2012-06-13 18:41:25 +00:00
parent b9f3b35c7d
commit 3099c26c9a
9 changed files with 339 additions and 6 deletions

View file

@ -202,10 +202,18 @@ name will be used as the label. -->
</#macro>
<#-- Label -->
<#macro label individual editable>
<#macro label individual editable labelCount>
<#local label = individual.nameStatement>
${label.value}
<@editingLinks "label" label editable />
<#if (labelCount > 1) && editable >
<span class="inline">
<a id="manageLabels" href="${urls.base}/manageLabels?subjectUri=${individual.uri!}" style="margin-left:20px;font-size:0.7em">
manage labels
</a>
</span>
<#else>
<@editingLinks "label" label editable />
</#if>
</#macro>
<#-- Most specific types -->