--- a/templates/ssm.odt.xsl Fri Oct 04 19:40:53 2019 +0200
+++ b/templates/ssm.odt.xsl Sat Oct 05 21:04:37 2019 +0200
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- Sane Software Manifesto helper tools
+ Sane software manifesto helper tools
Copyright © 2019 František Kučera (Frantovo.cz, GlobalCode.info)
This program is free software: you can redistribute it and/or modify
@@ -34,6 +34,7 @@
<xsl:param name="versionTag"/>
<xsl:param name="versionDistance"/>
<xsl:param name="versionHash"/>
+ <xsl:param name="versionChangedFiles"/>
<xsl:output
method="xml"
@@ -53,6 +54,7 @@
<xsl:with-param name="tag" select="$versionTag"/>
<xsl:with-param name="distance" select="$versionDistance"/>
<xsl:with-param name="hash" select="$versionHash"/>
+ <xsl:with-param name="changedFiles" select="$versionChangedFiles"/>
</xsl:call-template>
</text:p>
<text:p text:style-name="Paragraph">
@@ -185,8 +187,17 @@
<office:master-styles>
<style:master-page style:name="Standard" style:page-layout-name="pm1">
<style:footer>
- <!-- TODO: move license information to XML file -->
- <text:p text:style-name="Footer">Sane Software Manifesto <https://sane-software.globalcode.info/> Copyright © 2019 František Kučera (Frantovo.cz, GlobalCode.info) CC-BY-ND<text:tab/>
+ <text:p text:style-name="Footer">
+ <xsl:value-of select="/m:manifesto/m:title"/>
+ <xsl:text> <</xsl:text>
+ <xsl:value-of select="/m:manifesto/m:url"/>
+ <xsl:text>> Copyright © </xsl:text>
+ <xsl:value-of select="/m:manifesto/m:license/m:year"/>
+ <xsl:text> </xsl:text>
+ <xsl:value-of select="/m:manifesto/m:author"/>
+ <xsl:text> </xsl:text>
+ <xsl:value-of select="/m:manifesto/m:license/m:abbreviation"/>
+ <text:tab/>
<text:page-number text:select-page="current">1</text:page-number> / <text:page-count>1</text:page-count>
</text:p>
</style:footer>