followup box subscribe newsletter box

This commit is contained in:
tobiasd 2023-10-13 14:55:04 +02:00
parent 2cb81aeb43
commit f1e7f2eb8d
Signed by: tobiasd
GPG Key ID: 25FE376FF17694A1
2 changed files with 31 additions and 1 deletions

View File

@ -28,6 +28,19 @@
<xsl:element name="h2">
<xsl:call-template name="fsfe-gettext"><xsl:with-param name="id" select="'subscribe-newsletter'" /></xsl:call-template>
</xsl:element>
<xsl:element name="p">
<xsl:call-template name="fsfe-gettext"><xsl:with-param name="id" select="'subscribe-newsletter-text'" /></xsl:call-template>
<xsl:element name="span">
<xsl:attribute name="style">font-size:0.8em</xsl:attribute>
(<xsl:element name="a">
<xsl:attribute name="href">/about/legal/imprint.html#id-privacy-policy</xsl:attribute>
<xsl:element name="span">
<xsl:attribute name="style">color:white; text-decoration: underline;</xsl:attribute>
<xsl:call-template name="fsfe-gettext"><xsl:with-param name="id" select="'privacy-policy'" /></xsl:call-template>
</xsl:element>
</xsl:element>)
</xsl:element>
</xsl:element>
<xsl:call-template name="subscribe-nl" />
</xsl:when>
<xsl:when test="/buildinfo/document/followup = 'support'">
@ -82,7 +95,22 @@
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="class">subscribe-nl</xsl:attribute>
<xsl:element name="h2"><xsl:call-template name="fsfe-gettext"><xsl:with-param name="id" select="'subscribe-newsletter'" /></xsl:call-template></xsl:element>
<xsl:element name="h2">
<xsl:call-template name="fsfe-gettext"><xsl:with-param name="id" select="'subscribe-newsletter'" /></xsl:call-template>
</xsl:element>
<xsl:element name="p">
<xsl:call-template name="fsfe-gettext"><xsl:with-param name="id" select="'subscribe-newsletter-text'" /></xsl:call-template>
<xsl:element name="span">
<xsl:attribute name="style">font-size:0.8em</xsl:attribute>
(<xsl:element name="a">
<xsl:attribute name="href">/about/legal/imprint.html#id-privacy-policy</xsl:attribute>
<xsl:element name="span">
<xsl:attribute name="style">color:white; text-decoration: underline;</xsl:attribute>
<xsl:call-template name="fsfe-gettext"><xsl:with-param name="id" select="'privacy-policy'" /></xsl:call-template>
</xsl:element>
</xsl:element>)
</xsl:element>
</xsl:element>
<xsl:call-template name="subscribe-nl" />
</xsl:otherwise>
</xsl:choose>

View File

@ -98,6 +98,8 @@
<text id="pages">Pages</text>
<text id="receive-newsletter">Subscribe to FSFE's monthly newsletter</text>
<text id="subscribe-newsletter">Subscribe to the newsletter</text>
<text id="subscribe-newsletter-text">Subscribe to our email updates. Our experts inform you about current news, events, activities, and how you can contribute.</text>