← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 6942: Minor xsl bugfix

 

------------------------------------------------------------
revno: 6942
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2012-05-15 09:44:03 +0200
message:
  Minor xsl bugfix
modified:
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/reportTable.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/reportTable.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/reportTable.xsl	2012-05-14 18:21:39 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/reportTable.xsl	2012-05-15 07:44:03 +0000
@@ -9,44 +9,47 @@
       <h2> <xsl:value-of select="@name" /> </h2>
 	  
 	  <table>
-		<tr>
-			<td>Resource Data</td>
-			<td><a href="{@link}/data.html">html</a></td>
-			<td><a href="{@link}/data.xml">xml</a></td>
-			<td><a href="{@link}/data.json">json</a></td>
-			<td><a href="{@link}/data.pdf">pdf</a></td>
-			<td><a href="{@link}/data.xls">xls</a></td>
-			<td><a href="{@link}/data.csv">csv</a></td>
-		</tr>
-		<tr>
-			<td>ou</td>
-			<td colspan="4">organisation unit uid (opt)</td>
-		</tr>
-		<tr>
-			<td>pe</td>
-			<td colspan="4">period yyyy-MM-dd (opt)</td>
-		</tr>
-	  </table><br/>
-	  
-	  
+      <tr>
+        <td>Resource Data</td>
+        <td><a href="{@link}/data.html">html</a></td>
+        <td><a href="{@link}/data.xml">xml</a></td>
+        <td><a href="{@link}/data.json">json</a></td>
+        <td><a href="{@link}/data.pdf">pdf</a></td>
+        <td><a href="{@link}/data.xls">xls</a></td>
+        <td><a href="{@link}/data.csv">csv</a></td>
+      </tr>
+
+      <tr>
+        <td>ou</td>
+        <td colspan="4">organisation unit uid (opt)</td>
+      </tr>
+
+      <tr>
+        <td>pe</td>
+        <td colspan="4">period yyyy-MM-dd (opt)</td>
+      </tr>
+	  </table>
+
+    <br/>
+
 	  <table>
-		<tr>
-			<td>Dynamic Data</td>
-			<td><a href="data.json">json</a></td>
-		</tr>
-		<tr>
-			<td>in</td>
-			<td>indicator uids</td>
-		</tr>
-		<tr>
-			<td>de</td>
-			<td>data element uids</td>
-		</tr>
-		<tr>
-			<td>ou</td>
-			<td>org unit uids</td>
-		</tr>
-      </table></tr>
+      <tr>
+        <td>Dynamic Data</td>
+        <td><a href="data.json">json</a></td>
+      </tr>
+      <tr>
+        <td>in</td>
+        <td>indicator uids</td>
+      </tr>
+      <tr>
+        <td>de</td>
+        <td>data element uids</td>
+      </tr>
+      <tr>
+        <td>ou</td>
+        <td>org unit uids</td>
+      </tr>
+    </table>
 	  
       <table>
         <tr>
@@ -83,7 +86,7 @@
         </tr>
       </table>
 
-      <xsl:apply-templates select="d:reportParams|d:indicators|d:dataElements|d:dataSets|d:categoryOptionCombos|d:organisationUnits" mode="short"/>
+      <xsl:apply-templates select="d:reportParams|d:indicators|d:dataElements|d:dataSets|d:categoryOptionCombos|d:organisationUnits" mode="short" />
     </div>
   </xsl:template>