← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 6401: minor xsl fix

 

------------------------------------------------------------
revno: 6401
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2012-03-27 19:52:58 +0200
message:
  minor xsl fix
modified:
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/list.xsl


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/list.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/list.xsl	2012-03-27 17:38:48 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/list.xsl	2012-03-27 17:52:58 +0000
@@ -8,8 +8,9 @@
 
   <!-- match all plural elements -->
   <xsl:template match="d:dxf2">
-    <!-- <xsl:apply-templates select="d:pager"/> -->
-    <xsl:apply-templates select="d:*"/>
+    <xsl:apply-templates select="d:pager"/>
+    <!-- <xsl:apply-templates select="d:*"/> -->
+    <xsl:apply-templates select="d:*[local-name()!='pager']"/>
   </xsl:template>
 
   <xsl:template match="d:resources|d:maps|d:charts|d:categoryCombos|d:categories|