Gentoo Archives: gentoo-commits

From: "Xavier Neys (neysx)" <neysx@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in xml/htdocs/xsl: mail.xsl
Date: Mon, 01 Dec 2008 17:31:01
Message-Id: E1L7Cbr-0000Ed-VC@stork.gentoo.org
1 neysx 08/12/01 17:30:59
2
3 Modified: mail.xsl
4 Log:
5 Use <alias> elements from roll-call to ease nick renames
6
7 Revision Changes Path
8 1.5 xml/htdocs/xsl/mail.xsl
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/mail.xsl?rev=1.5&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/mail.xsl?rev=1.5&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/mail.xsl?r1=1.4&r2=1.5
13
14 Index: mail.xsl
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/mail.xsl,v
17 retrieving revision 1.4
18 retrieving revision 1.5
19 diff -u -r1.4 -r1.5
20 --- mail.xsl 15 Jan 2008 19:00:27 -0000 1.4
21 +++ mail.xsl 1 Dec 2008 17:30:59 -0000 1.5
22 @@ -61,6 +61,16 @@
23 <xsl:copy-of select="realname"/>
24 <xsl:copy-of select="email"/>
25 </user>
26 + <!-- Add another entry for each alias, much easier later on to find right email/name based on an alias -->
27 + <xsl:for-each select="alias">
28 + <user username="{.}">
29 + <xsl:if test="translate(../status,'TIRED','tired')='retired'">
30 + <xsl:attribute name="retired"/>
31 + </xsl:if>
32 + <xsl:copy-of select="../realname"/>
33 + <xsl:copy-of select="../email"/>
34 + </user>
35 + </xsl:for-each>
36 </xsl:for-each>
37 </devs>
38 </xsl:template>