NIHVIVO-3444 corrected citation format for when there is only a resource name

This commit is contained in:
tworrall 2011-12-07 15:08:01 +00:00
parent 51cf5e1846
commit f16450b1f5

View file

@ -97,6 +97,13 @@
</#if> </#if>
</#local> </#local>
<#-- if there's no citation details, we want to strip away the closing period that's placed after the
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!}" />
</#if>
</#macro> </#macro>