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: guide2.xsl
Date: Wed, 31 Dec 2008 21:06:30
Message-Id: E1LI8Gr-00022J-0x@stork.gentoo.org
neysx       08/12/31 21:06:29

  Modified:             guide2.xsl
  Log:
  shuffled news icons

Revision  Changes    Path
1.41                 xml/htdocs/xsl/guide2.xsl

file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/guide2.xsl?rev=1.41&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/guide2.xsl?rev=1.41&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/xsl/guide2.xsl?r1=1.40&r2=1.41

Index: guide2.xsl
===================================================================
RCS file: /var/cvsroot/gentoo/xml/htdocs/xsl/guide2.xsl,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- guide2.xsl	31 Dec 2008 16:17:43 -0000	1.40
+++ guide2.xsl	31 Dec 2008 21:06:28 -0000	1.41
@@ -1926,21 +1926,12 @@
     </p>
 
     <xsl:choose>
-      <xsl:when test="$thenews/@category='alpha'">
-        <img class="newsicon" src="/images/icon-alpha.gif" alt="AlphaServer GS160"/>
-      </xsl:when>
-      <xsl:when test="$thenews/@category='kde'">
-        <img class="newsicon" src="/images/icon-kde.png" alt="KDE"/>
-      </xsl:when>
       <xsl:when test="$thenews/@category='gentoo'">
         <img class="newsicon" src="/images/icon-gentoo.png" alt="gentoo"/>
       </xsl:when>
       <xsl:when test="$thenews/@category='main'">
         <img class="newsicon" src="/images/icon-stick.png" alt="stick man"/>
       </xsl:when>
-      <xsl:when test="$thenews/@category='ibm'">
-        <img class="newsicon" src="/images/icon-ibm.gif" alt="ibm"/>
-      </xsl:when>
       <xsl:when test="$thenews/@category='linux'">
         <img class="newsicon" src="/images/icon-penguin.png" alt="tux"/>
       </xsl:when>
@@ -1950,15 +1941,25 @@
       <xsl:when test="$thenews/@category='plans'">
         <img class="newsicon" src="/images/icon-clock.png" alt="Clock"/>
       </xsl:when>
+      <xsl:when test="$thenews/@category='planet'">
+        <img class="newsicon" src="/images/G-Earth.jpg" alt="Planet Earth"/>
+      </xsl:when>
+      <!-- old ones, kept to display very very old news items -->
+      <xsl:when test="$thenews/@category='alpha'">
+        <img class="newsicon" src="/images/icon-alpha.gif" alt="AlphaServer GS160"/>
+      </xsl:when>
+      <xsl:when test="$thenews/@category='kde'">
+        <img class="newsicon" src="/images/icon-kde.png" alt="KDE"/>
+      </xsl:when>
+      <xsl:when test="$thenews/@category='ibm'">
+        <img class="newsicon" src="/images/icon-ibm.gif" alt="ibm"/>
+      </xsl:when>
       <xsl:when test="$thenews/@category='nvidia'">
         <img class="newsicon" src="/images/icon-nvidia.png" alt="Nvidia"/>
       </xsl:when>
       <xsl:when test="$thenews/@category='freescale'">
         <img class="newsicon" src="/images/icon-freescale.gif" alt="Freescale Semiconductor"/>
       </xsl:when>
-      <xsl:when test="$thenews/@category='planet'">
-        <img class="newsicon" src="/images/G-Earth.jpg" alt="Planet Earth"/>
-      </xsl:when>
     </xsl:choose>
 
     <div class="newsitem">