NIHVIVO-3881 don't show firstName and lastName on the individual Person page, unless they are editable.

This commit is contained in:
j2blake 2012-07-09 15:02:15 +00:00
parent 725e6fe081
commit b7417f514d

View file

@ -126,6 +126,12 @@
<#include "individual-propertyGroupMenu.ftl"> <#include "individual-propertyGroupMenu.ftl">
<#-- Ontology properties --> <#-- 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"> <#include "individual-properties.ftl">
<#assign rdfUrl = individual.rdfUrl> <#assign rdfUrl = individual.rdfUrl>