Show delete button only if it is usable
This commit is contained in:
parent
0c8163070b
commit
5b91f360d7
1 changed files with 3 additions and 1 deletions
|
@ -39,7 +39,9 @@ ${scripts.add('<script async type="text/javascript" src="${urls.base}/themes/iph
|
|||
<h1 itemprop="name" class="vcard foaf-person fn" <#if !editable>style="float:left;border-right:1px solid #A6B1B0;"</#if>>
|
||||
<#-- Label -->
|
||||
<@p.label individual editable labelCount localesCount/>
|
||||
<@p.deleteIndividualLink individual />
|
||||
<#if editable>
|
||||
<@p.deleteIndividualLink individual />
|
||||
</#if>
|
||||
</h1>
|
||||
<#-- Display preferredTitle if it exists; otherwise mostSpecificTypes -->
|
||||
<#assign title = propertyGroups.pullProperty("http://purl.obolibrary.org/obo/ARG_2000028","http://www.w3.org/2006/vcard/ns#Title")!>
|
||||
|
|
Loading…
Add table
Reference in a new issue