app: update/fix the About's authors.xsl.

Apply Jehans' fix to the authors.xsl to this branch as well. Adapt it to
consider "recent" as >= 2.8 and don't change the sorting.
This commit is contained in:
Simon Budig
2022-12-25 23:25:26 +01:00
parent d7679a2330
commit 41d45fa7dc

View File

@ -11,8 +11,9 @@
<xsl:template name="recent-contributor"> <xsl:template name="recent-contributor">
<xsl:param name="role" /> <xsl:param name="role" />
<xsl:apply-templates select="dc:contributor[contains(@role, $role) and <xsl:apply-templates select="dc:contributor[contains(@role, $role) and
number(@last-active) >= 2 and ((number(@last-active) >= 2 and
number(substring-after(@last-active, &quot;.&quot;)) >= 8]" /> number(substring-after(@last-active, &quot;.&quot;)) >= 8) or
number(@last-active) >= 3)]" />
</xsl:template> </xsl:template>
<xsl:template match="/dc:gimp-authors"> <xsl:template match="/dc:gimp-authors">