eliminate the space between the resource title and the period

This commit is contained in:
tworrall 2011-12-08 17:06:30 +00:00
parent d5d1a14344
commit 0d7dc9cc96

View file

@ -14,14 +14,6 @@
<#-- Use a macro to keep variable assignments local; otherwise the values carry over to the <#-- Use a macro to keep variable assignments local; otherwise the values carry over to the
next statement --> next statement -->
<#macro showAuthorship statement> <#macro showAuthorship statement>
<#local resourceTitle>
<#if statement.infoResource??>
<a href="${profileUrl(statement.uri("infoResource"))}" title="resource name">${statement.infoResourceName}</a>
<#else>
<#-- This shouldn't happen, but we must provide for it -->
<a href="${profileUrl(statement.uri("authorship"))}" title="missing resource">missing information resource</a>
</#if>
</#local>
<#local citationDetails> <#local citationDetails>
<#if statement.subclass??> <#if statement.subclass??>
@ -97,13 +89,19 @@
</#if> </#if>
</#local> </#local>
<#-- if there's no citation details, we want to strip away the closing period that's placed after the <#local resourceTitle>
the resource name in the resourceTitle section above <#if statement.infoResource??>
-->
<#if citationDetails?has_content> <#if citationDetails?has_content>
${resourceTitle}.&nbsp;${citationDetails} <@dt.yearSpan "${statement.dateTime!}" /> <a href="${profileUrl(statement.uri("infoResource"))}" title="resource name">${statement.infoResourceName}</a>.&nbsp;
<#else> <#else>
${resourceTitle} <@dt.yearSpan "${statement.dateTime!}" /> <a href="${profileUrl(statement.uri("infoResource"))}" title="resource name">${statement.infoResourceName}</a>
</#if> </#if>
<#else>
<#-- This shouldn't happen, but we must provide for it -->
<a href="${profileUrl(statement.uri("authorship"))}" title="missing resource">missing information resource</a>
</#if>
</#local>
${resourceTitle} ${citationDetails} <@dt.yearSpan "${statement.dateTime!}" />
</#macro> </#macro>