implement <email> tag/template in XSL file
All checks were successful
continuous-integration/drone/pr Build is passing

This commit is contained in:
Max Mehl 2022-04-22 15:16:59 +02:00
parent ccc63c9ddd
commit 8d9d8d366e
Signed by: max.mehl
GPG Key ID: 2704E4AB371E2E92
2 changed files with 108 additions and 103 deletions

File diff suppressed because it is too large Load Diff

View File

@ -2,6 +2,8 @@
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:include href="email-obfuscate.xsl"/>
<!-- displays list of people for a given country (or a given team, i.e. "main") -->
<xsl:template name="country-people-list">
<!-- parameter 'team' can be
@ -138,7 +140,10 @@
<xsl:element name="span">
<xsl:attribute name="class">email</xsl:attribute>
<xsl:if test="email != ''">
<xsl:value-of select="email" />
<xsl:call-template name="email">
<xsl:with-param name="email" select="email" />
<xsl:with-param name="mailto" select="'no'" />
</xsl:call-template>
</xsl:if>
<xsl:if test="fingerprint != ''">
<xsl:element name="a">