Skip to content

Commit

Permalink
Only print the $electronic-data-thanks if needed
Browse files Browse the repository at this point in the history
The $electronic-data-thanks was previously printed twice under some
conditions:

- first if <dtb:meta name='prod:source' content='electronicData'/> was set
- second unconditinaly after the $production string

The second one has been removed now
  • Loading branch information
egli committed Jan 12, 2023
1 parent b0191a8 commit 5616529
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<p><xsl:value-of select="$electronic-data-thanks"/></p>
</xsl:if>
<xsl:variable name="year" select="tokenize(//dtb:meta[lower-case(@name)='dc:date']/@content, '-')[1]"/>
<p><xsl:value-of select="$production"/>:<br/><xsl:value-of select="$electronic-data-thanks"/><br/><a href="{$producer-url}" external="true"><xsl:value-of select="$producer-url-brief"/></a><br/><xsl:value-of select="concat($producer-brief,' ', $year)"/></p>
<p><xsl:value-of select="$production"/>:<br/><a href="{$producer-url}" external="true"><xsl:value-of select="$producer-url-brief"/></a><br/><xsl:value-of select="concat($producer-brief,' ', $year)"/></p>
</level1>
</xsl:template>

Expand Down

0 comments on commit 5616529

Please sign in to comment.