mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-10-06 01:12:40 +02:00
app: update/fix the About's authors.xsl.
I realized the "recent-contributor" template was checking `last-active >=2 and minor version >= 8`. Because of the second part of this test, anyone with a last a last-active value of 3.0 was ironically not included as recent contributors! Meanwhile, I am bumping the definition of recent as 2.10 and over (rather than 2.8 and over), for GIMP 3.0 release. Last thing, I am now sorting by descending last-active (so contributors in GIMP 3.0 are shown first).
This commit is contained in:
@@ -11,8 +11,11 @@
|
||||
<xsl:template name="recent-contributor">
|
||||
<xsl:param name="role" />
|
||||
<xsl:apply-templates select="dc:contributor[contains(@role, $role) and
|
||||
number(@last-active) >= 2 and
|
||||
number(substring-after(@last-active, ".")) >= 8]" />
|
||||
((number(@last-active) >= 2 and
|
||||
number(substring-after(@last-active, ".")) >= 10) or
|
||||
number(@last-active) >= 3)]" >
|
||||
<xsl:sort order="descending" data-type="number" select="@last-active" />
|
||||
</xsl:apply-templates>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:template match="/dc:gimp-authors">
|
||||
|
Reference in New Issue
Block a user