diff --git a/productMods/templates/freemarker/body/individual/individual--foaf-person.ftl b/productMods/templates/freemarker/body/individual/individual--foaf-person.ftl index 76eee0f6..7b5e191c 100644 --- a/productMods/templates/freemarker/body/individual/individual--foaf-person.ftl +++ b/productMods/templates/freemarker/body/individual/individual--foaf-person.ftl @@ -13,7 +13,7 @@
<#-- Image --> - <@p.imageLinks individual propertyGroups editing "${urls.images}/placeholders/person.thumbnail.jpg" /> + <@p.imageLinks individual propertyGroups editable "${urls.images}/placeholders/person.thumbnail.jpg" />
@@ -73,7 +73,7 @@ <#-- Label --> <#assign label = individual.nameStatement> ${label.value} - <@p.editingLinks label editing /> + <@p.editingLinks label label editable /> <#-- Moniker --> <#if individual.moniker?has_content> @@ -85,10 +85,10 @@ <#-- Positions --> <#assign positions = propertyGroups.getPropertyAndRemoveFromList("${core}personInPosition")!> <#if positions?has_content> <#-- true when the property is in the list, even if not populated (when editing) --> -

Positions <@p.addLink positions editing />

+

Positions <@p.addLink positions editable />

<#if positions.statements?has_content> <#-- if there are any statements --> @@ -101,10 +101,10 @@ <#assign researchAreas = propertyGroups.getPropertyAndRemoveFromList("${core}hasResearchArea")!> <#if researchAreas?has_content> <#-- true when the property is in the list, even if not populated (when editing) --> <#--

Research Areas <@p.addLink researchAreas editing />

--> - <@p.addLinkWithLabel researchAreas editing /> + <@p.addLinkWithLabel researchAreas editable /> <#if researchAreas.statements?has_content> <#-- if there are any statements --> diff --git a/productMods/templates/freemarker/body/individual/individual.ftl b/productMods/templates/freemarker/body/individual/individual.ftl index f70db5e9..f9d44d6d 100644 --- a/productMods/templates/freemarker/body/individual/individual.ftl +++ b/productMods/templates/freemarker/body/individual/individual.ftl @@ -11,7 +11,7 @@
<#-- Image --> - <@p.imageLinks individual propertyGroups editing /> + <@p.imageLinks individual propertyGroups editable />
@@ -24,7 +24,7 @@ <#-- Label --> <#assign label = individual.nameStatement> ${label.value} - <@p.editingLinks label editing /> + <@p.editingLinks label label editable /> <#-- Moniker --> <#if individual.moniker?has_content> @@ -50,7 +50,7 @@ <#-- Links --> - <@p.vitroLinks propertyGroups editing /> + <@p.vitroLinks propertyGroups editable />
diff --git a/productMods/templates/freemarker/body/partials/individual/individual-overview.ftl b/productMods/templates/freemarker/body/partials/individual/individual-overview.ftl index 45a3c5f5..5ac61c3f 100644 --- a/productMods/templates/freemarker/body/partials/individual/individual-overview.ftl +++ b/productMods/templates/freemarker/body/partials/individual/individual-overview.ftl @@ -4,11 +4,11 @@ <#assign overview = propertyGroups.getPropertyAndRemoveFromList("${core}overview")!> <#if overview?has_content> <#-- true when the property is in the list, even if not populated (when editing) --> - <@p.addLinkWithLabel overview editing /> + <@p.addLinkWithLabel overview editable /> <#list overview.statements as statement>

${statement.value} - <@p.editingLinks statement editing /> + <@p.editingLinks overview statement editable />

\ No newline at end of file diff --git a/productMods/templates/freemarker/body/partials/individual/individual-setup.ftl b/productMods/templates/freemarker/body/partials/individual/individual-setup.ftl index 6500e021..fb2a2fc2 100644 --- a/productMods/templates/freemarker/body/partials/individual/individual-setup.ftl +++ b/productMods/templates/freemarker/body/partials/individual/individual-setup.ftl @@ -5,11 +5,7 @@ <#import "lib-list.ftl" as l> <#import "lib-properties.ftl" as p> -<#assign editing = individual.showEditingLinks> - -<#assign editingClass> - <#if editing>editing - +<#assign editable = individual.editable> <#assign propertyGroups = individual.propertyList>