bugs in n3 files and manage labels logic when there are no labels (e.g. on individual page profile)

This commit is contained in:
hudajkhan 2013-10-07 17:26:34 -04:00
parent aced8fece7
commit 7c3c8f6c4e
4 changed files with 6 additions and 5 deletions

View file

@ -249,7 +249,7 @@ name will be used as the label. -->
${label.value}
<#if useEditLink>
<@editingLinks "label" "" label editable />
<#elseif editable || (languageCount > 1)>
<#elseif (editable && (labelCount > 0)) || (languageCount > 1)>
<#--We display the link even when the user is not logged in case of multiple labels with different languages-->
<#assign labelLink = ""/>
<#-- Manage labels now goes to generator -->
@ -274,7 +274,7 @@ name will be used as the label. -->
<span class="inline">
<a class="add-label" href="${labelLink}"
title="${linkTitle}">${individualProfileUrl} -> ${profileParameters} -> ${extraParameters}
title="${linkTitle}">
<img class="add-individual" src="${urls.images}/individual/manage-icon.png" alt="${imageAlt}" /></a>
</span>
</#if>