summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-01-02 20:54:20 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2018-01-02 20:54:20 +0000
commite8e5c9f41fe20c79935c9fe83e3b3cca36fb4f97 (patch)
treec98122224e697c0b4e193a40afa891a1d01b046a
parentCDN with the latest v2.x bootstrap CSS and JS (diff)
downloadgentoobrowse-2.0.1.tar.bz2
gentoobrowse-2.0.1.tar.xz
gentoobrowse-2.0.1.zip
Fix incorrect mask number on package version list by simply including the set numbergentoobrowse-2.0.1
-rw-r--r--gentoobrowse/xslt/package.xslt4
1 files changed, 3 insertions, 1 deletions
diff --git a/gentoobrowse/xslt/package.xslt b/gentoobrowse/xslt/package.xslt
index 20c34bf..6cc68e9 100644
--- a/gentoobrowse/xslt/package.xslt
+++ b/gentoobrowse/xslt/package.xslt
@@ -191,7 +191,7 @@
<small>
(<a class="text-warning" href="#masks">Masked by set
<xsl:for-each select="/gentoo/masks/mask[ebuildids/element = current()/ebuildid]">
- <xsl:value-of select="position()" />
+ <xsl:value-of select="setno" />
</xsl:for-each>
</a>)
</small>
@@ -339,6 +339,8 @@
<xsl:call-template name="humanDate">
<xsl:with-param name="date" select="dateadded" />
</xsl:call-template>
+ <br />
+ <xsl:value-of select="setno" />
</dt>
<dd>
<a>