NIHVIVO-3881 don't show firstName and lastName on the individual Person page, unless they are editable.
This commit is contained in:
parent
725e6fe081
commit
b7417f514d
1 changed files with 6 additions and 0 deletions
|
@ -126,6 +126,12 @@
|
|||
<#include "individual-propertyGroupMenu.ftl">
|
||||
|
||||
<#-- Ontology properties -->
|
||||
<#if !editable>
|
||||
<#-- We don't want to see the first name and last name unless we might edit them. -->
|
||||
<#assign skipThis = propertyGroups.pullProperty("http://xmlns.com/foaf/0.1/firstName")!>
|
||||
<#assign skipThis = propertyGroups.pullProperty("http://xmlns.com/foaf/0.1/lastName")!>
|
||||
</#if>
|
||||
|
||||
<#include "individual-properties.ftl">
|
||||
|
||||
<#assign rdfUrl = individual.rdfUrl>
|
||||
|
|
Loading…
Add table
Reference in a new issue