change page footer
All checks were successful
continuous-integration/drone/pr Build is passing

This commit is contained in:
2023-11-05 14:46:36 +01:00
parent 5c31e0214d
commit 09a6c43066

View File

@@ -21,6 +21,35 @@
<xsl:element name="div">
<!-- Social Media links -->
<xsl:element name="p">
<xsl:attribute name="class">share-buttons footer</xsl:attribute>
<xsl:element name="a"> <!-- Mastodon -->
<xsl:attribute name="href">
<xsl:text>https://mastodon.social/@fsfe</xsl:text>
</xsl:attribute>
<xsl:element name="img">
<xsl:attribute name="src">
<xsl:text>/graphics/services/mastodon.png</xsl:text>
</xsl:attribute>
<xsl:attribute name="alt">Mastodon</xsl:attribute>
<xsl:attribute name="title">Mastodon</xsl:attribute>
</xsl:element>
</xsl:element>
<xsl:element name="a"> <!-- Peertube -->
<xsl:attribute name="href">
<xsl:text>https://media.fsfe.org/a/fsfe/videos</xsl:text>
</xsl:attribute>
<xsl:element name="img">
<xsl:attribute name="src">
<xsl:text>/graphics/services/peertube.png</xsl:text>
</xsl:attribute>
<xsl:attribute name="alt">Peertube</xsl:attribute>
<xsl:attribute name="title">Peertube</xsl:attribute>
</xsl:element>
</xsl:element>
</xsl:element>
<!-- Copyright notice -->
<xsl:element name="p">
<xsl:text>Copyright © 2001-2023 </xsl:text>
@@ -43,20 +72,6 @@
</xsl:call-template>
</xsl:element>
<!-- Javascript licenses -->
<xsl:element name="p">
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:value-of select="$urlprefix"/>
<xsl:text>/about/js-licences.html</xsl:text>
</xsl:attribute>
<xsl:attribute name="data-jslicense">1</xsl:attribute>
<xsl:call-template name="fsfe-gettext">
<xsl:with-param name="id" select="'js-licences'"/>
</xsl:call-template>
</xsl:element>
</xsl:element>
</xsl:element>
<xsl:element name="div">
@@ -174,35 +189,6 @@
</xsl:element>
</xsl:element>
<!-- Social Media links -->
<xsl:element name="p">
<xsl:attribute name="class">share-buttons footer</xsl:attribute>
<xsl:element name="a"> <!-- Mastodon -->
<xsl:attribute name="href">
<xsl:text>https://mastodon.social/@fsfe</xsl:text>
</xsl:attribute>
<xsl:element name="img">
<xsl:attribute name="src">
<xsl:text>/graphics/services/mastodon.png</xsl:text>
</xsl:attribute>
<xsl:attribute name="alt">Mastodon</xsl:attribute>
<xsl:attribute name="title">Mastodon</xsl:attribute>
</xsl:element>
</xsl:element>
<xsl:element name="a"> <!-- Peertube -->
<xsl:attribute name="href">
<xsl:text>https://media.fsfe.org/a/fsfe/videos</xsl:text>
</xsl:attribute>
<xsl:element name="img">
<xsl:attribute name="src">
<xsl:text>/graphics/services/peertube.png</xsl:text>
</xsl:attribute>
<xsl:attribute name="alt">Peertube</xsl:attribute>
<xsl:attribute name="title">Peertube</xsl:attribute>
</xsl:element>
</xsl:element>
</xsl:element>
<!-- Appropriate translation notice -->
<xsl:element name="p">
<xsl:if test="/buildinfo/document/@language!=/buildinfo/@original">
@@ -241,6 +227,20 @@
</xsl:if>
</xsl:element>
<!-- Javascript licenses -->
<xsl:element name="p">
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:value-of select="$urlprefix"/>
<xsl:text>/about/js-licences.html</xsl:text>
</xsl:attribute>
<xsl:attribute name="data-jslicense">1</xsl:attribute>
<xsl:call-template name="fsfe-gettext">
<xsl:with-param name="id" select="'js-licences'"/>
</xsl:call-template>
</xsl:element>
</xsl:element>
</xsl:element>
</xsl:element>