summaryrefslogtreecommitdiff
path: root/gentoobrowse/package.xslt
diff options
context:
space:
mode:
Diffstat (limited to 'gentoobrowse/package.xslt')
-rw-r--r--gentoobrowse/package.xslt17
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) &gt; 0">
<h3 class="tabhandle"><a href="javascript:showTab('masks');">Masks</a></h3>
</xsl:if>
- <xsl:if test="count(/gentoo/summary/package/changelog/line) &gt; 0">
+ <xsl:if test="count(/gentoo/summary/package/changelog/entry) &gt; 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) &gt; 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) &gt; 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" /> &lt;<xsl:value-of select="email" />&gt;</li>
+ <li><xsl:value-of select="comment" /></li>
+ </ul>
</xsl:for-each>
- </pre>
+ </ul>
</xsl:if>
</xsl:template>