Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in xml/htdocs/xsl: devlist.xsl
Date: Mon, 28 Jun 2010 08:12:58
Message-Id: 20100628081252.BC5C72C621@corvid.gentoo.org
1 robbat2 10/06/28 08:12:52
2
3 Modified: devlist.xsl
4 Log:
5 Try to improve join data.
6
7 Revision Changes Path
8 1.9 xml/htdocs/xsl/devlist.xsl
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/devlist.xsl?rev=1.9&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/devlist.xsl?rev=1.9&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/xsl/devlist.xsl?r1=1.8&r2=1.9
13
14 Index: devlist.xsl
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/devlist.xsl,v
17 retrieving revision 1.8
18 retrieving revision 1.9
19 diff -p -w -b -B -u -u -r1.8 -r1.9
20 --- devlist.xsl 9 Jun 2010 21:48:59 -0000 1.8
21 +++ devlist.xsl 28 Jun 2010 08:12:52 -0000 1.9
22 @@ -105,7 +105,8 @@
23 <xsl:variable name="double-quote">"</xsl:variable>
24 <xsl:variable name="roles" select="translate(roles, $double-quote, $single-quote)"/>
25 <xsl:variable name="loc" select="translate(location, $double-quote, $single-quote)"/>
26 - <xsl:value-of select="concat(' {&#34;nick&#34;: &#34;', @nick,'&#34;, &#34;name&#34;: &#34;', name, '&#34;, &#34;joined&#34;: &#34;', joined, '&#34;, &#34;lat&#34;: ', location/@lat, ', &#34;lon&#34;: ', location/@lon, ', &#34;roles&#34;: &#34;', $roles, '&#34;, &#34;loc&#34;: &#34;', $loc, '&#34;}')"/>
27 + <xsl:variable name="joined" select="translate(joined, $double-quote, $single-quote)"/>
28 + <xsl:value-of select="concat(' {&#34;nick&#34;: &#34;', @nick,'&#34;, &#34;name&#34;: &#34;', name, '&#34;, &#34;joined&#34;: &#34;', $joined, '&#34;, &#34;lat&#34;: ', location/@lat, ', &#34;lon&#34;: ', location/@lon, ', &#34;roles&#34;: &#34;', $roles, '&#34;, &#34;loc&#34;: &#34;', $loc, '&#34;}')"/>
29 <xsl:if test="position()!=last()">,</xsl:if>
30 <xsl:text>&#xA;</xsl:text>
31 </xsl:template>