Fix vitroLinks display so if there are no links, property heading doesn't display twice.
This commit is contained in:
parent
7b62bdd0a2
commit
e954cccca3
1 changed files with 2 additions and 2 deletions
|
@ -146,9 +146,9 @@ name will be used as the label. -->
|
|||
|
||||
<#if (primaryLink?has_content || additionalLinks?has_content)> <#-- true when the property is in the list, even if not populated (when editing) -->
|
||||
<nav role="navigation">
|
||||
<#local primaryLinkLabel = "Primary Web Page">
|
||||
<@propertyLabel primaryLink primaryLinkLabel />
|
||||
<#local primaryLinkLabel = "Primary Web Page">
|
||||
<#if primaryLink.statements?has_content> <#-- if there are any statements -->
|
||||
<@propertyLabel primaryLink primaryLinkLabel />
|
||||
<ul class="${linkListClass}" id="links-primary" role="list">
|
||||
<@objectPropertyList primaryLink editable />
|
||||
</ul>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue