diff --git a/webapp/web/templates/freemarker/body/partials/individual/propStatement-default.ftl b/webapp/web/templates/freemarker/body/partials/individual/propStatement-default.ftl index 0d42bb0e2..5ae9359f1 100644 --- a/webapp/web/templates/freemarker/body/partials/individual/propStatement-default.ftl +++ b/webapp/web/templates/freemarker/body/partials/individual/propStatement-default.ftl @@ -1,5 +1,9 @@ <#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> -<#-- Default object property statement template --> +<#-- Default object property statement template. + + This template must be self-contained and not rely on other variables set for the individual page, because it + is also used to generate the property statement during a deletion. + --> ${statement.name!} ${statement.moniker!} diff --git a/webapp/web/templates/freemarker/body/partials/individual/propStatement-vitroLink.ftl b/webapp/web/templates/freemarker/body/partials/individual/propStatement-vitroLink.ftl index 51e785bfd..ddae44715 100644 --- a/webapp/web/templates/freemarker/body/partials/individual/propStatement-vitroLink.ftl +++ b/webapp/web/templates/freemarker/body/partials/individual/propStatement-vitroLink.ftl @@ -1,6 +1,10 @@ <#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> -<#-- Template for vitro:primaryLink and vitro:additionalLink --> +<#-- Template for vitro:primaryLink and vitro:additionalLink. + + This template must be self-contained and not rely on other variables set for the individual page, because it + is also used to generate the property statement during a deletion. + --> <#assign linkText> <#if statement.anchor??>${statement.anchor}