NIHVIVO-2042 Show heading "Primary Web Page" on vitro:primaryLink only if editing

This commit is contained in:
rjy7 2011-02-04 19:21:29 +00:00
parent b8fec2e96c
commit 40264e0c0b

View file

@ -148,7 +148,7 @@ name will be used as the label. -->
<nav role="navigation">
<#local primaryLinkLabel = "Primary Web Page">
<#if primaryLink.statements?has_content> <#-- if there are any statements -->
<@propertyLabel primaryLink primaryLinkLabel />
<#if editable><@propertyLabel primaryLink primaryLinkLabel /></#if>
<ul class="${linkListClass}" id="links-primary" role="list">
<@objectPropertyList primaryLink editable />
</ul>