On Wed, Nov 28, 2012 at 12:07:05AM -0500, James McCoy wrote: > Attached is a series of a patches that adds support for displaying DM > information by each maintainer/uploader's name.
> From 3a6f6f158e8905176689715b5d389bd37244bb98 Mon Sep 17 00:00:00 2001 > From: James McCoy <vega.ja...@gmail.com> > Date: Mon, 26 Nov 2012 22:10:11 -0500 > Subject: [PATCH 4/5] Add indicate-dm template and use it to annotate the > maintainer/uploaders Using a template for that was a bit overkill. The attached patch replaces this one. It inlines the dm annotation and uses <small> for the maintainer annotation to fit with the style of the other parenthetical pieces on information. Cheers, -- James GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <james...@debian.org>
From bbebc80dc37fda090f709eef5f005f8c4d713b56 Mon Sep 17 00:00:00 2001 From: James McCoy <vega.ja...@gmail.com> Date: Mon, 26 Nov 2012 22:10:11 -0500 Subject: [PATCH 4/5] Use the gathered dm information to annotate the maintainer/uploaders --- www/xsl/pts.xsl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/www/xsl/pts.xsl b/www/xsl/pts.xsl index 653dac5..bc58917 100644 --- a/www/xsl/pts.xsl +++ b/www/xsl/pts.xsl @@ -271,6 +271,9 @@ other-to-%xx, especially % to %25... Fortunately, that's rare --> <xsl:value-of select="maintainer/name"/> </span> </xsl:element> + <xsl:if test="$hasother and $other/dms/item/@email=maintainer/email"> + (<small>dm</small>) + </xsl:if> <xsl:if test="uploaders"> <xsl:for-each select="uploaders/item"> <xsl:text>, </xsl:text> @@ -289,7 +292,11 @@ other-to-%xx, especially % to %25... Fortunately, that's rare --> <xsl:value-of select="name"/> </span> </xsl:element> - <xsl:text> (u)</xsl:text> + <xsl:text> (u</xsl:text> + <xsl:if test="$hasother and $other/dms/item/@email=email"> + , dm + </xsl:if> + <xsl:text>)</xsl:text> </small> </span> </xsl:for-each> -- 1.7.10.4
signature.asc
Description: Digital signature