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/proj/en/devrel/roll-call: userinfo.xsl
Date: Tue, 03 Nov 2009 21:48:58
Message-Id: E1N5RFI-0005cs-VT@stork.gentoo.org
1 neysx 09/11/03 21:48:56
2
3 Modified: userinfo.xsl
4 Log:
5 #291062 Allow several <pgpkey> element in userinfo.xml
6
7 Revision Changes Path
8 1.7 xml/htdocs/proj/en/devrel/roll-call/userinfo.xsl
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/devrel/roll-call/userinfo.xsl?rev=1.7&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/devrel/roll-call/userinfo.xsl?rev=1.7&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/devrel/roll-call/userinfo.xsl?r1=1.6&r2=1.7
13
14 Index: userinfo.xsl
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/devrel/roll-call/userinfo.xsl,v
17 retrieving revision 1.6
18 retrieving revision 1.7
19 diff -u -r1.6 -r1.7
20 --- userinfo.xsl 15 Nov 2007 08:29:11 -0000 1.6
21 +++ userinfo.xsl 3 Nov 2009 21:48:56 -0000 1.7
22 @@ -99,17 +99,20 @@
23 </ti>
24 <ti>
25 <xsl:if test="$statusFilter != 'Retired'">
26 + <xsl:for-each select="pgpkey">
27 <xsl:choose>
28 - <xsl:when test="starts-with(pgpkey, '0x')">
29 - <xsl:value-of select="translate(pgpkey,'abcdef','ABCDEF')"/>
30 + <xsl:when test="starts-with(., '0x')">
31 + <xsl:value-of select="translate(.,'abcdef','ABCDEF')"/>
32 </xsl:when>
33 - <xsl:when test="string-length(pgpkey) = 8">
34 - 0x<xsl:value-of select="translate(pgpkey,'abcdef','ABCDEF')"/>
35 + <xsl:when test="string-length(.) = 8">
36 + 0x<xsl:value-of select="translate(.,'abcdef','ABCDEF')"/>
37 </xsl:when>
38 - <xsl:when test="string-length(pgpkey) &gt; 0">
39 - Invalid key specification!
40 + <xsl:when test="string-length(.) &gt; 0">
41 + <xsl:text>Invalid key!</xsl:text>
42 </xsl:when>
43 </xsl:choose>
44 + <xsl:if test="not(position()=last())"><br/></xsl:if>
45 + </xsl:for-each>
46 </xsl:if>
47 <xsl:if test="$statusFilter = 'Retired'">
48 <xsl:if test="status and status != 'active'">