incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r1336437 - /incubator/public/trunk/content/podlings.xsl
Date Wed, 09 May 2012 22:44:43 GMT
Author: bdelacretaz
Date: Wed May  9 22:44:43 2012
New Revision: 1336437

URL: http://svn.apache.org/viewvc?rev=1336437&view=rev
Log:
List champions as well

Modified:
    incubator/public/trunk/content/podlings.xsl

Modified: incubator/public/trunk/content/podlings.xsl
URL: http://svn.apache.org/viewvc/incubator/public/trunk/content/podlings.xsl?rev=1336437&r1=1336436&r2=1336437&view=diff
==============================================================================
--- incubator/public/trunk/content/podlings.xsl (original)
+++ incubator/public/trunk/content/podlings.xsl Wed May  9 22:44:43 2012
@@ -18,6 +18,7 @@
         <style type="text/css">
             body { margin-left: 1em; }
             .podlings { margin-top: 1em; }
+            .error { color:red; }
         </style>
     </head>
     <body>
@@ -50,6 +51,10 @@
             </xsl:if> 
             .
         </p>
+
+        <h3>Champion</h3>
+        <xsl:apply-templates select="." mode="champion"/>
+
         <h3>Mentors</h3>
         <ul class="mentors">
             <xsl:apply-templates select="mentors"/>
@@ -57,6 +62,14 @@
     </div>
 </xsl:template>
 
+<xsl:template match="podling[champion]" mode="champion">
+  <p><xsl:value-of select="champion"/></p>
+</xsl:template>
+
+<xsl:template match="podling" mode="champion">
+  <p class="error">MISSING</p>
+</xsl:template>
+
 <xsl:template match="mentor">
     <li><xsl:value-of select="."/></li>
 </xsl:template>



---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@incubator.apache.org
For additional commands, e-mail: cvs-help@incubator.apache.org


Mime
View raw message