← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 6612: made api-browser work correctly again (dxf2 => metaData)

 

------------------------------------------------------------
revno: 6612
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2012-04-17 11:24:35 +0300
message:
  made api-browser work correctly again (dxf2 => metaData)
modified:
  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/resource.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-28 09:29:38 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/list.xsl	2012-04-17 08:24:35 +0000
@@ -7,7 +7,7 @@
   <xsl:include href="identifiable-row.xsl" />
 
   <!-- match all plural elements -->
-  <xsl:template match="d:dxf2">
+  <xsl:template match="d:metaData">
     <xsl:apply-templates select="d:pager"/>
     <xsl:apply-templates select="d:*[local-name()!='pager']"/>
   </xsl:template>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/resource.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/resource.xsl	2012-03-27 17:38:48 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/resource.xsl	2012-04-17 08:24:35 +0000
@@ -4,7 +4,7 @@
   xmlns:d="http://dhis2.org/schema/dxf/2.0";
   >
 
-  <xsl:template match="d:dxf2/d:resources" mode="short">
+  <xsl:template match="d:metaData/d:resources" mode="short">
     <xsl:if test="count(child::*) > 0">
       <h3>Resources</h3>
       <table>