NIHVIVO-3444 corrected citation format for when there is only a resource name
This commit is contained in:
parent
51cf5e1846
commit
f16450b1f5
1 changed files with 8 additions and 1 deletions
|
@ -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>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue