diff options
author | randomdan <randomdan@localhost> | 2010-11-14 03:29:47 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2010-11-14 03:29:47 +0000 |
commit | 50fcdea9977a29ad690cbb444b990b2d8c1092ae (patch) | |
tree | b65ebba8d07edfba0cb1ba93f616f6c462d84082 /gentoobrowse/package.xslt | |
parent | Remove most uses of files table from website, data now in ebuilds table (diff) | |
download | gentoobrowse-50fcdea9977a29ad690cbb444b990b2d8c1092ae.tar.bz2 gentoobrowse-50fcdea9977a29ad690cbb444b990b2d8c1092ae.tar.xz gentoobrowse-50fcdea9977a29ad690cbb444b990b2d8c1092ae.zip |
Populate and use new change logs table
Diffstat (limited to 'gentoobrowse/package.xslt')
-rw-r--r-- | gentoobrowse/package.xslt | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/gentoobrowse/package.xslt b/gentoobrowse/package.xslt index 5f0852d..37bf811 100644 --- a/gentoobrowse/package.xslt +++ b/gentoobrowse/package.xslt @@ -121,7 +121,7 @@ <xsl:if test="count(/gentoo/summary/package/maskdetails/mask) > 0"> <h3 class="tabhandle"><a href="javascript:showTab('masks');">Masks</a></h3> </xsl:if> - <xsl:if test="count(/gentoo/summary/package/changelog/line) > 0"> + <xsl:if test="count(/gentoo/summary/package/changelog/entry) > 0"> <h3 class="tabhandle"><a href="javascript:showTab('changelog');">Change log</a></h3> </xsl:if> </div> @@ -173,13 +173,16 @@ <!-- Change log --> <xsl:template match="/gentoo/summary/package/changelog"> - <xsl:if test="count(/gentoo/summary/package/changelog/line) > 0"> - <pre class="tabhidden" id="changelog"> - <xsl:for-each select="line"> - <xsl:value-of select="content" /><xsl:text> -</xsl:text> + <xsl:if test="count(/gentoo/summary/package/changelog/entry) > 0"> + <ul class="tabhidden" id="changelog"> + <xsl:for-each select="entry"> + <li><xsl:value-of select="substring-before(date, ' ')" /></li> + <ul> + <li><xsl:value-of select="person" /> <<xsl:value-of select="email" />></li> + <li><xsl:value-of select="comment" /></li> + </ul> </xsl:for-each> - </pre> + </ul> </xsl:if> </xsl:template> |