From d5d1a143445b471e2f3b557bca06cd0dafac10cb Mon Sep 17 00:00:00 2001 From: j2blake Date: Thu, 8 Dec 2011 16:09:09 +0000 Subject: [PATCH] Substringing operation had a one-off error. Find a simpler way. --- .../individual/propStatement-authorInAuthorship.ftl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/productMods/templates/freemarker/body/partials/individual/propStatement-authorInAuthorship.ftl b/productMods/templates/freemarker/body/partials/individual/propStatement-authorInAuthorship.ftl index c15d96da..6d9720e6 100644 --- a/productMods/templates/freemarker/body/partials/individual/propStatement-authorInAuthorship.ftl +++ b/productMods/templates/freemarker/body/partials/individual/propStatement-authorInAuthorship.ftl @@ -16,10 +16,10 @@ <#macro showAuthorship statement> <#local resourceTitle> <#if statement.infoResource??> - ${statement.infoResourceName}.  + ${statement.infoResourceName} <#else> <#-- This shouldn't happen, but we must provide for it --> - missing information resource.  + missing information resource @@ -101,9 +101,9 @@ the resource name in the resourceTitle section above --> <#if citationDetails?has_content> - ${resourceTitle} ${citationDetails} <@dt.yearSpan "${statement.dateTime!}" /> + ${resourceTitle}. ${citationDetails} <@dt.yearSpan "${statement.dateTime!}" /> <#else> - ${resourceTitle?substring(0,resourceTitle?last_index_of(".") - 1)} <@dt.yearSpan "${statement.dateTime!}" /> + ${resourceTitle} <@dt.yearSpan "${statement.dateTime!}" />