Changed some variable and macro names
This commit is contained in:
parent
48bfabbe64
commit
8ddba03210
2 changed files with 15 additions and 15 deletions
|
@ -34,13 +34,13 @@
|
||||||
<#-- Email -->
|
<#-- Email -->
|
||||||
<#assign email = propertyGroups.getPropertyAndRemoveFromList("${core}email")!>
|
<#assign email = propertyGroups.getPropertyAndRemoveFromList("${core}email")!>
|
||||||
<#if email?has_content> <#-- true when the property is in the list, even if not populated (when editing) -->
|
<#if email?has_content> <#-- true when the property is in the list, even if not populated (when editing) -->
|
||||||
<@p.showLabelAndAddLink email showEditingLinks />
|
<@p.addLinkWithLabel email editing />
|
||||||
<#if email.statements?has_content> <#-- if there are any statements -->
|
<#if email.statements?has_content> <#-- if there are any statements -->
|
||||||
<ul id="individual-email" role="list">
|
<ul id="individual-email" role="list">
|
||||||
<#list email.statements as statement>
|
<#list email.statements as statement>
|
||||||
<li role="listitem">
|
<li role="listitem">
|
||||||
<@p.editingLinks statement showEditingLinks />
|
|
||||||
<a class="email" href="#"><span class ="picto-font picto-email">M</span> ${statement.value}</a>
|
<a class="email" href="#"><span class ="picto-font picto-email">M</span> ${statement.value}</a>
|
||||||
|
<@p.editingLinks statement editing />
|
||||||
</li>
|
</li>
|
||||||
</#list>
|
</#list>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -50,13 +50,13 @@
|
||||||
<#-- Phone -->
|
<#-- Phone -->
|
||||||
<#assign phone = propertyGroups.getPropertyAndRemoveFromList("${core}phoneNumber")!>
|
<#assign phone = propertyGroups.getPropertyAndRemoveFromList("${core}phoneNumber")!>
|
||||||
<#if phone?has_content> <#-- true when the property is in the list, even if not populated (when editing) -->
|
<#if phone?has_content> <#-- true when the property is in the list, even if not populated (when editing) -->
|
||||||
<@p.showLabelAndAddLink phone showEditingLinks />
|
<@p.addLinkWithLabel phone editing />
|
||||||
<#if phone.statements?has_content> <#-- if there are any statements -->
|
<#if phone.statements?has_content> <#-- if there are any statements -->
|
||||||
<ul id="individual-phone" role="list">
|
<ul id="individual-phone" role="list">
|
||||||
<#list phone.statements as statement>
|
<#list phone.statements as statement>
|
||||||
<li role="listitem">
|
<li role="listitem">
|
||||||
<@p.editingLinks statement showEditingLinks />
|
|
||||||
<a class="tel" href="#"><img class ="icon-phone" src="${urls.images}/individual/phone-icon.gif" alt="phone icon" />${statement.value}</a>
|
<a class="tel" href="#"><img class ="icon-phone" src="${urls.images}/individual/phone-icon.gif" alt="phone icon" />${statement.value}</a>
|
||||||
|
<@p.editingLinks statement editing />
|
||||||
</li>
|
</li>
|
||||||
</#list>
|
</#list>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -93,10 +93,10 @@
|
||||||
<#-- Positions -->
|
<#-- Positions -->
|
||||||
<#assign positions = propertyGroups.getPropertyAndRemoveFromList("${core}personInPosition")!>
|
<#assign positions = propertyGroups.getPropertyAndRemoveFromList("${core}personInPosition")!>
|
||||||
<#if positions?has_content> <#-- true when the property is in the list, even if not populated (when editing) -->
|
<#if positions?has_content> <#-- true when the property is in the list, even if not populated (when editing) -->
|
||||||
<h2>Positions <@p.addLink positions showEditingLinks /></h2>
|
<h2>Positions <@p.addLink positions editing /></h2>
|
||||||
<#if positions.statements?has_content> <#-- if there are any statements -->
|
<#if positions.statements?has_content> <#-- if there are any statements -->
|
||||||
<ul id ="individual-positions" role="list">
|
<ul id ="individual-positions" role="list">
|
||||||
<@p.objectPropertyList positions.statements positions.template showEditingLinks />
|
<@p.objectPropertyList positions.statements positions.template editing />
|
||||||
</ul>
|
</ul>
|
||||||
</#if>
|
</#if>
|
||||||
</#if>
|
</#if>
|
||||||
|
@ -105,11 +105,11 @@
|
||||||
<#-- Overview -->
|
<#-- Overview -->
|
||||||
<#assign overview = propertyGroups.getPropertyAndRemoveFromList("${core}overview")!>
|
<#assign overview = propertyGroups.getPropertyAndRemoveFromList("${core}overview")!>
|
||||||
<#if overview?has_content> <#-- true when the property is in the list, even if not populated (when editing) -->
|
<#if overview?has_content> <#-- true when the property is in the list, even if not populated (when editing) -->
|
||||||
<@p.showLabelAndAddLink overview showEditingLinks />
|
<@p.addLinkWithLabel overview editing />
|
||||||
<#list overview.statements as statement>
|
<#list overview.statements as statement>
|
||||||
<p class="individual-overview">
|
<p class="individual-overview">
|
||||||
<@p.editingLinks statement showEditingLinks />
|
|
||||||
${statement.value}
|
${statement.value}
|
||||||
|
<@p.editingLinks statement editing />
|
||||||
</p>
|
</p>
|
||||||
</#list>
|
</#list>
|
||||||
</#if>
|
</#if>
|
||||||
|
@ -117,11 +117,11 @@
|
||||||
<#-- Research Areas -->
|
<#-- Research Areas -->
|
||||||
<#assign researchAreas = propertyGroups.getPropertyAndRemoveFromList("${core}hasResearchArea")!>
|
<#assign researchAreas = propertyGroups.getPropertyAndRemoveFromList("${core}hasResearchArea")!>
|
||||||
<#if researchAreas?has_content> <#-- true when the property is in the list, even if not populated (when editing) -->
|
<#if researchAreas?has_content> <#-- true when the property is in the list, even if not populated (when editing) -->
|
||||||
<#--<h2>Research Areas <@p.addLink researchAreas showEditingLinks /></h2> -->
|
<#--<h2>Research Areas <@p.addLink researchAreas editing /></h2> -->
|
||||||
<@p.showLabelAndAddLink researchAreas showEditingLinks />
|
<@p.addLinkWithLabel researchAreas editing />
|
||||||
<#if researchAreas.statements?has_content> <#-- if there are any statements -->
|
<#if researchAreas.statements?has_content> <#-- if there are any statements -->
|
||||||
<ul id="individual-areas" role="list">
|
<ul id="individual-areas" role="list">
|
||||||
<@p.simpleObjectPropertyList researchAreas showEditingLinks/>
|
<@p.simpleObjectPropertyList researchAreas editing/>
|
||||||
</ul>
|
</ul>
|
||||||
</#if>
|
</#if>
|
||||||
</#if>
|
</#if>
|
||||||
|
|
|
@ -6,10 +6,10 @@
|
||||||
<#import "lib-properties.ftl" as p>
|
<#import "lib-properties.ftl" as p>
|
||||||
<#assign core = "http://vivoweb.org/ontology/core#">
|
<#assign core = "http://vivoweb.org/ontology/core#">
|
||||||
|
|
||||||
<#assign showEditingLinks = individual.showEditingLinks>
|
<#assign editing = individual.showEditingLinks>
|
||||||
|
|
||||||
<#assign editingClass>
|
<#assign editingClass>
|
||||||
<#if showEditingLinks>editing</#if>
|
<#if editing>editing</#if>
|
||||||
</#assign>
|
</#assign>
|
||||||
|
|
||||||
<#assign propertyGroups = individual.propertyList>
|
<#assign propertyGroups = individual.propertyList>
|
Loading…
Add table
Reference in a new issue