1 |
neysx 07/11/15 08:17:16 |
2 |
|
3 |
Modified: devlist.xsl |
4 |
Log: |
5 |
Removed role attribute from <email> |
6 |
|
7 |
Revision Changes Path |
8 |
1.5 xml/htdocs/xsl/devlist.xsl |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/devlist.xsl?rev=1.5&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/devlist.xsl?rev=1.5&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/devlist.xsl?r1=1.4&r2=1.5 |
13 |
|
14 |
Index: devlist.xsl |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/devlist.xsl,v |
17 |
retrieving revision 1.4 |
18 |
retrieving revision 1.5 |
19 |
diff -u -r1.4 -r1.5 |
20 |
--- devlist.xsl 11 Oct 2007 15:31:28 -0000 1.4 |
21 |
+++ devlist.xsl 15 Nov 2007 08:17:15 -0000 1.5 |
22 |
@@ -36,11 +36,11 @@ |
23 |
<xsl:if test="string-length(status) > 0"> |
24 |
<status><xsl:value-of select="translate(normalize-space(status),'QWERTYUIOPLKJHGFDSAZXCVBNM','qwertyuioplkjhgfdsazxcvbnm')"/></status> |
25 |
</xsl:if> |
26 |
- <xsl:if test="email[@role='gentoo']"> |
27 |
- <email role="gentoo"><xsl:value-of select="email[@role='gentoo'][1]"/></email> |
28 |
+ <xsl:if test="email[substring-after(text(),'@')='gentoo.org']"> |
29 |
+ <email><xsl:value-of select="email[substring-after(text(),'@')='gentoo.org'][1]"/></email> |
30 |
</xsl:if> |
31 |
- <xsl:if test="email[@role!='gentoo']"> |
32 |
- <email role="other"><xsl:value-of select="email[@role!='gentoo'][1]"/></email> |
33 |
+ <xsl:if test="email[substring-after(text(),'@')!='gentoo.org']"> |
34 |
+ <email><xsl:value-of select="email[substring-after(text(),'@')!='gentoo.org'][1]"/></email> |
35 |
</xsl:if> |
36 |
</user> |
37 |
</xsl:for-each> |
38 |
@@ -145,11 +145,11 @@ |
39 |
<xsl:if test="status"> |
40 |
<status><xsl:value-of select="status"/></status> |
41 |
</xsl:if> |
42 |
- <xsl:if test="email[@role='gentoo']"> |
43 |
- <email role="gentoo"><xsl:value-of select="email[@role='gentoo']"/></email> |
44 |
+ <xsl:if test="email[substring-after(text(),'@')='gentoo.org']"> |
45 |
+ <email><xsl:value-of select="email[substring-after(text(),'@')='gentoo.org'][1]"/></email> |
46 |
</xsl:if> |
47 |
- <xsl:if test="email[@role='other']"> |
48 |
- <email role="other"><xsl:value-of select="email[@role='other']"/></email> |
49 |
+ <xsl:if test="email[substring-after(text(),'@')!='gentoo.org']"> |
50 |
+ <email><xsl:value-of select="email[substring-after(text(),'@')!='gentoo.org'][1]"/></email> |
51 |
</xsl:if> |
52 |
</xsl:element> |
53 |
</xsl:template> |
54 |
|
55 |
|
56 |
|
57 |
-- |
58 |
gentoo-commits@g.o mailing list |