Added attribution for front page graphics

This commit is contained in:
skyanth 2018-09-14 11:43:44 +02:00
parent ea819fdc48
commit 8d0fe7f514
2 changed files with 11 additions and 1 deletions

View File

@ -100,10 +100,15 @@
<fo:inline/>
<fo:footnote-body>
<xsl:call-template name="Contact"/>
<xsl:call-template name="ImageAttribution"/>
</fo:footnote-body>
</fo:footnote>
</xsl:template>
<xsl:template name="ImageAttribution">
<fo:block xsl:use-attribute-sets="coc" break-after="page"> Front page image by Slava
(https://secure.flickr.com/photos/slava/496607907/), "Mango HaX0ring", Image styling by Patricia Piolon, https://creativecommons.org/licenses/by-sa/2.0/legalcode. </fo:block>
</xsl:template>
<!-- CONTACT BOX (comes at the end, is just the address, no title/table) -->

View File

@ -34,6 +34,7 @@
<xsl:call-template name="DocProperties"/>
<xsl:call-template name="VersionControl"/>
<xsl:call-template name="Contact"/>
<xsl:call-template name="ImageAttribution"/>
</xsl:template>
<xsl:template name="front">
@ -402,10 +403,14 @@
</fo:table-body>
</fo:table>
</fo:block>
<fo:block xsl:use-attribute-sets="coc" break-after="page">
<fo:block xsl:use-attribute-sets="coc">
<xsl:value-of select="company/full_name"/> is registered at the trade register of the
Dutch chamber of commerce under number <xsl:value-of select="company/coc"/>. </fo:block>
</xsl:template>
<xsl:template name="ImageAttribution">
<fo:block xsl:use-attribute-sets="coc" break-after="page">
kallerna (https://commons.wikimedia.org/wiki/File:Rock_climber_Phra_Nang_1.jpg), "Rock climber Phra Nang 1", Image styling by Patricia Piolon, https://creativecommons.org/licenses/by-sa/3.0/legalcode </fo:block>
</xsl:template>
<xsl:template match="subtitle">
<xsl:apply-templates/>