← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 11119: improved rendering of program html (for web-api), also added 'created' property to all html pages

 

------------------------------------------------------------
revno: 11119
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2013-05-31 11:47:04 +0700
message:
  improved rendering of program html (for web-api), also added 'created' property to all html pages
added:
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/program.xsl
modified:
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/attributeType.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/category.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/categoryCombo.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/categoryOption.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/categoryOptionCombo.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/chart.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/constant.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/dataElement.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/dataElementGroup.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/dataElementGroupSet.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/dataSet.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/document.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/indicator.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/indicatorGroup.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/indicatorGroupSet.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/indicatorType.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/interpretation.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/map.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/mapLayer.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/mapLegend.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/mapLegendSet.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/messageConversation.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/model2html.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/optionSets.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/organisationUnit.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/organisationUnitGroup.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/organisationUnitGroupSet.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/organisationUnitLevel.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/report.xsl
  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/sqlView.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/user.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/userAuthorityGroup.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/userGroup.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/validationRule.xsl
  dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/validationRuleGroup.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/attributeType.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/attributeType.xsl	2012-04-08 20:23:29 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/attributeType.xsl	2013-05-31 04:47:04 +0000
@@ -14,6 +14,10 @@
           <td> <xsl:value-of select="@id" /> </td>
         </tr>
         <tr>
+          <td>Created</td>
+          <td> <xsl:value-of select="@created" /> </td>
+        </tr>
+        <tr>
           <td>Last Updated</td>
           <td> <xsl:value-of select="@lastUpdated" /> </td>
         </tr>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/category.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/category.xsl	2012-04-08 20:23:29 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/category.xsl	2013-05-31 04:47:04 +0000
@@ -14,6 +14,10 @@
           <td> <xsl:value-of select="@id" /> </td>
         </tr>
         <tr>
+          <td>Created</td>
+          <td> <xsl:value-of select="@created" /> </td>
+        </tr>
+        <tr>
           <td>Last Updated</td>
           <td> <xsl:value-of select="@lastUpdated" /> </td>
         </tr>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/categoryCombo.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/categoryCombo.xsl	2012-04-08 20:23:29 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/categoryCombo.xsl	2013-05-31 04:47:04 +0000
@@ -14,6 +14,10 @@
           <td> <xsl:value-of select="@id" /> </td>
         </tr>
         <tr>
+          <td>Created</td>
+          <td> <xsl:value-of select="@created" /> </td>
+        </tr>
+        <tr>
           <td>Last Updated</td>
           <td> <xsl:value-of select="@lastUpdated" /> </td>
         </tr>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/categoryOption.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/categoryOption.xsl	2012-04-08 20:23:29 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/categoryOption.xsl	2013-05-31 04:47:04 +0000
@@ -14,6 +14,10 @@
           <td> <xsl:value-of select="@id" /> </td>
         </tr>
         <tr>
+          <td>Created</td>
+          <td> <xsl:value-of select="@created" /> </td>
+        </tr>
+        <tr>
           <td>Last Updated</td>
           <td> <xsl:value-of select="@lastUpdated" /> </td>
         </tr>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/categoryOptionCombo.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/categoryOptionCombo.xsl	2012-04-08 20:23:29 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/categoryOptionCombo.xsl	2013-05-31 04:47:04 +0000
@@ -14,6 +14,10 @@
           <td> <xsl:value-of select="@id" /> </td>
         </tr>
         <tr>
+          <td>Created</td>
+          <td> <xsl:value-of select="@created" /> </td>
+        </tr>
+        <tr>
           <td>Last Updated</td>
           <td> <xsl:value-of select="@lastUpdated" /> </td>
         </tr>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/chart.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/chart.xsl	2012-07-30 19:02:10 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/chart.xsl	2013-05-31 04:47:04 +0000
@@ -64,6 +64,10 @@
           <td> <xsl:value-of select="@id"/> </td>
         </tr>
         <tr>
+          <td>Created</td>
+          <td> <xsl:value-of select="@created" /> </td>
+        </tr>
+        <tr>
           <td>Last Updated</td>
           <td> <xsl:value-of select="@lastUpdated"/> </td>
         </tr>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/constant.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/constant.xsl	2012-04-08 20:23:29 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/constant.xsl	2013-05-31 04:47:04 +0000
@@ -14,6 +14,10 @@
           <td> <xsl:value-of select="@id" /> </td>
         </tr>
         <tr>
+          <td>Created</td>
+          <td> <xsl:value-of select="@created" /> </td>
+        </tr>
+        <tr>
           <td>Last Updated</td>
           <td> <xsl:value-of select="@lastUpdated" /> </td>
         </tr>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/dataElement.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/dataElement.xsl	2012-04-08 20:23:29 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/dataElement.xsl	2013-05-31 04:47:04 +0000
@@ -14,6 +14,10 @@
           <td> <xsl:value-of select="@id" /> </td>
         </tr>
         <tr>
+          <td>Created</td>
+          <td> <xsl:value-of select="@created" /> </td>
+        </tr>
+        <tr>
           <td>Last Updated</td>
           <td> <xsl:value-of select="@lastUpdated" /> </td>
         </tr>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/dataElementGroup.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/dataElementGroup.xsl	2012-04-08 20:23:29 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/dataElementGroup.xsl	2013-05-31 04:47:04 +0000
@@ -14,6 +14,10 @@
           <td> <xsl:value-of select="@id" /> </td>
         </tr>
         <tr>
+          <td>Created</td>
+          <td> <xsl:value-of select="@created" /> </td>
+        </tr>
+        <tr>
           <td>Last Updated</td>
           <td> <xsl:value-of select="@lastUpdated" /> </td>
         </tr>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/dataElementGroupSet.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/dataElementGroupSet.xsl	2012-04-08 20:23:29 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/dataElementGroupSet.xsl	2013-05-31 04:47:04 +0000
@@ -14,6 +14,10 @@
           <td> <xsl:value-of select="@id" /> </td>
         </tr>
         <tr>
+          <td>Created</td>
+          <td> <xsl:value-of select="@created" /> </td>
+        </tr>
+        <tr>
           <td>Last Updated</td>
           <td> <xsl:value-of select="@lastUpdated" /> </td>
         </tr>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/dataSet.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/dataSet.xsl	2012-09-13 06:48:42 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/dataSet.xsl	2013-05-31 04:47:04 +0000
@@ -15,6 +15,10 @@
           <td> <xsl:value-of select="@id" /> </td>
         </tr>
         <tr>
+          <td>Created</td>
+          <td> <xsl:value-of select="@created" /> </td>
+        </tr>
+        <tr>
           <td>Last Updated</td>
           <td> <xsl:value-of select="@lastUpdated" /> </td>
         </tr>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/document.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/document.xsl	2012-07-30 19:02:10 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/document.xsl	2013-05-31 04:47:04 +0000
@@ -21,6 +21,10 @@
           <td> <xsl:value-of select="@id" /> </td>
         </tr>
         <tr>
+          <td>Created</td>
+          <td> <xsl:value-of select="@created" /> </td>
+        </tr>
+        <tr>
           <td>Last Updated</td>
           <td> <xsl:value-of select="@lastUpdated" /> </td>
         </tr>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/indicator.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/indicator.xsl	2013-05-27 11:07:26 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/indicator.xsl	2013-05-31 04:47:04 +0000
@@ -15,6 +15,10 @@
           <td> <xsl:value-of select="@id" /> </td>
         </tr>
         <tr>
+          <td>Created</td>
+          <td> <xsl:value-of select="@created" /> </td>
+        </tr>
+        <tr>
           <td>Last Updated</td>
           <td> <xsl:value-of select="@lastUpdated" /> </td>
         </tr>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/indicatorGroup.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/indicatorGroup.xsl	2012-04-08 20:23:29 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/indicatorGroup.xsl	2013-05-31 04:47:04 +0000
@@ -14,6 +14,10 @@
           <td> <xsl:value-of select="@id" /> </td>
         </tr>
         <tr>
+          <td>Created</td>
+          <td> <xsl:value-of select="@created" /> </td>
+        </tr>
+        <tr>
           <td>Last Updated</td>
           <td> <xsl:value-of select="@lastUpdated" /> </td>
         </tr>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/indicatorGroupSet.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/indicatorGroupSet.xsl	2012-04-08 20:23:29 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/indicatorGroupSet.xsl	2013-05-31 04:47:04 +0000
@@ -14,6 +14,10 @@
           <td> <xsl:value-of select="@id" /> </td>
         </tr>
         <tr>
+          <td>Created</td>
+          <td> <xsl:value-of select="@created" /> </td>
+        </tr>
+        <tr>
           <td>Last Updated</td>
           <td> <xsl:value-of select="@lastUpdated" /> </td>
         </tr>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/indicatorType.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/indicatorType.xsl	2012-04-08 20:23:29 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/indicatorType.xsl	2013-05-31 04:47:04 +0000
@@ -15,6 +15,10 @@
           <td> <xsl:value-of select="@id" /> </td>
         </tr>
         <tr>
+          <td>Created</td>
+          <td> <xsl:value-of select="@created" /> </td>
+        </tr>
+        <tr>
           <td>Last Updated</td>
           <td> <xsl:value-of select="@lastUpdated" /> </td>
         </tr>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/interpretation.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/interpretation.xsl	2012-10-23 13:24:16 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/interpretation.xsl	2013-05-31 04:47:04 +0000
@@ -15,6 +15,10 @@
           <td> <xsl:value-of select="@id" /> </td>
         </tr>
         <tr>
+          <td>Created</td>
+          <td> <xsl:value-of select="@created" /> </td>
+        </tr>
+        <tr>
           <td>Last Updated</td>
           <td> <xsl:value-of select="@lastUpdated" /> </td>
         </tr>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/map.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/map.xsl	2012-10-25 17:18:52 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/map.xsl	2013-05-31 04:47:04 +0000
@@ -12,6 +12,10 @@
           <td> <xsl:value-of select="@id" /> </td>
         </tr>
         <tr>
+          <td>Created</td>
+          <td> <xsl:value-of select="@created" /> </td>
+        </tr>
+        <tr>
           <td>Last Updated</td>
           <td> <xsl:value-of select="@lastUpdated" /> </td>
         </tr>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/mapLayer.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/mapLayer.xsl	2012-05-01 09:53:59 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/mapLayer.xsl	2013-05-31 04:47:04 +0000
@@ -15,6 +15,10 @@
           <td> <xsl:value-of select="@id" /> </td>
         </tr>
         <tr>
+          <td>Created</td>
+          <td> <xsl:value-of select="@created" /> </td>
+        </tr>
+        <tr>
           <td>Last Updated</td>
           <td> <xsl:value-of select="@lastUpdated" /> </td>
         </tr>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/mapLegend.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/mapLegend.xsl	2012-05-01 09:53:59 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/mapLegend.xsl	2013-05-31 04:47:04 +0000
@@ -15,6 +15,10 @@
           <td> <xsl:value-of select="@id" /> </td>
         </tr>
         <tr>
+          <td>Created</td>
+          <td> <xsl:value-of select="@created" /> </td>
+        </tr>
+        <tr>
           <td>Last Updated</td>
           <td> <xsl:value-of select="@lastUpdated" /> </td>
         </tr>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/mapLegendSet.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/mapLegendSet.xsl	2012-05-01 09:53:59 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/mapLegendSet.xsl	2013-05-31 04:47:04 +0000
@@ -15,6 +15,10 @@
           <td> <xsl:value-of select="@id" /> </td>
         </tr>
         <tr>
+          <td>Created</td>
+          <td> <xsl:value-of select="@created" /> </td>
+        </tr>
+        <tr>
           <td>Last Updated</td>
           <td> <xsl:value-of select="@lastUpdated" /> </td>
         </tr>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/messageConversation.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/messageConversation.xsl	2012-06-14 18:28:59 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/messageConversation.xsl	2013-05-31 04:47:04 +0000
@@ -15,6 +15,10 @@
           <td> <xsl:value-of select="@id" /> </td>
         </tr>
         <tr>
+          <td>Created</td>
+          <td> <xsl:value-of select="@created" /> </td>
+        </tr>
+        <tr>
           <td>Last Updated</td>
           <td> <xsl:value-of select="@lastUpdated" /> </td>
         </tr>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/model2html.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/model2html.xsl	2012-12-09 10:12:53 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/model2html.xsl	2013-05-31 04:47:04 +0000
@@ -55,6 +55,7 @@
   <xsl:include href="interpretation.xsl" />
   <xsl:include href="dataValueSets.xsl" />
   <xsl:include href="optionSets.xsl" />
+  <xsl:include href="program.xsl" />
 
   <!-- Config elements -->
 

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/optionSets.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/optionSets.xsl	2012-05-30 13:29:47 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/optionSets.xsl	2013-05-31 04:47:04 +0000
@@ -14,6 +14,10 @@
           <td> <xsl:value-of select="@id" /> </td>
         </tr>
         <tr>
+          <td>Created</td>
+          <td> <xsl:value-of select="@created" /> </td>
+        </tr>
+        <tr>
           <td>Last Updated</td>
           <td> <xsl:value-of select="@lastUpdated" /> </td>
         </tr>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/organisationUnit.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/organisationUnit.xsl	2012-07-09 10:10:20 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/organisationUnit.xsl	2013-05-31 04:47:04 +0000
@@ -14,6 +14,10 @@
           <td> <xsl:value-of select="@id" /> </td>
         </tr>
         <tr>
+          <td>Created</td>
+          <td> <xsl:value-of select="@created" /> </td>
+        </tr>
+        <tr>
           <td>Last Updated</td>
           <td> <xsl:value-of select="@lastUpdated" /> </td>
         </tr>
@@ -69,6 +73,15 @@
     </xsl:if>
   </xsl:template>
 
+  <xsl:template match="d:organisationUnits" mode="short">
+    <xsl:if test="count(child::*) > 0">
+      <h3>OrganisationUnits</h3>
+      <table>
+        <xsl:apply-templates select="child::*" mode="row"/>
+      </table>
+    </xsl:if>
+  </xsl:template>
+
   <xsl:template match="d:dataSets" mode="short">
     <xsl:if test="count(child::*) > 0">
       <h3>DataSets</h3>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/organisationUnitGroup.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/organisationUnitGroup.xsl	2012-04-08 20:23:29 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/organisationUnitGroup.xsl	2013-05-31 04:47:04 +0000
@@ -14,6 +14,10 @@
           <td> <xsl:value-of select="@id" /> </td>
         </tr>
         <tr>
+          <td>Created</td>
+          <td> <xsl:value-of select="@created" /> </td>
+        </tr>
+        <tr>
           <td>Last Updated</td>
           <td> <xsl:value-of select="@lastUpdated" /> </td>
         </tr>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/organisationUnitGroupSet.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/organisationUnitGroupSet.xsl	2012-04-08 20:23:29 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/organisationUnitGroupSet.xsl	2013-05-31 04:47:04 +0000
@@ -14,6 +14,10 @@
           <td> <xsl:value-of select="@id" /> </td>
         </tr>
         <tr>
+          <td>Created</td>
+          <td> <xsl:value-of select="@created" /> </td>
+        </tr>
+        <tr>
           <td>Last Updated</td>
           <td> <xsl:value-of select="@lastUpdated" /> </td>
         </tr>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/organisationUnitLevel.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/organisationUnitLevel.xsl	2012-12-09 10:12:53 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/organisationUnitLevel.xsl	2013-05-31 04:47:04 +0000
@@ -14,6 +14,10 @@
           <td> <xsl:value-of select="@id" /> </td>
         </tr>
         <tr>
+          <td>Created</td>
+          <td> <xsl:value-of select="@created" /> </td>
+        </tr>
+        <tr>
           <td>Last Updated</td>
           <td> <xsl:value-of select="@lastUpdated" /> </td>
         </tr>

=== added file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/program.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/program.xsl	1970-01-01 00:00:00 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/program.xsl	2013-05-31 04:47:04 +0000
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0"
+                xmlns="http://www.w3.org/1999/xhtml";
+                xmlns:d="http://dhis2.org/schema/dxf/2.0";
+    >
+
+  <xsl:template match="d:program">
+    <div class="program">
+      <h2> <xsl:value-of select="@name" /> </h2>
+
+      <table>
+        <tr>
+          <td>ID</td>
+          <td> <xsl:value-of select="@id" /> </td>
+        </tr>
+        <tr>
+          <td>Created</td>
+          <td> <xsl:value-of select="@created" /> </td>
+        </tr>
+        <tr>
+          <td>Last Updated</td>
+          <td> <xsl:value-of select="@lastUpdated" /> </td>
+        </tr>
+        <tr>
+          <td>description</td>
+          <td> <xsl:value-of select="d:description" /> </td>
+        </tr>
+        <tr>
+          <td>version</td>
+          <td> <xsl:value-of select="d:version" /> </td>
+        </tr>
+        <tr>
+          <td>dateOfEnrollmentDescription</td>
+          <td> <xsl:value-of select="d:dateOfEnrollmentDescription" /> </td>
+        </tr>
+        <tr>
+          <td>dateOfIncidentDescription</td>
+          <td> <xsl:value-of select="d:dateOfIncidentDescription" /> </td>
+        </tr>
+        <tr>
+          <td>Type</td>
+          <td> <xsl:value-of select="d:type" /> </td>
+        </tr>
+        <tr>
+          <td>displayProvidedOtherFacility</td>
+          <td> <xsl:value-of select="d:displayProvidedOtherFacility" /> </td>
+        </tr>
+        <tr>
+          <td>displayIncidentDate</td>
+          <td> <xsl:value-of select="d:displayIncidentDate" /> </td>
+        </tr>
+        <tr>
+          <td>generatedByEnrollmentDate</td>
+          <td> <xsl:value-of select="d:generatedByEnrollmentDate" /> </td>
+        </tr>
+        <tr>
+          <td>ignoreOverdueEvents</td>
+          <td> <xsl:value-of select="d:ignoreOverdueEvents" /> </td>
+        </tr>
+        <tr>
+          <td>blockEntryForm</td>
+          <td> <xsl:value-of select="d:blockEntryForm" /> </td>
+        </tr>
+        <tr>
+          <td>onlyEnrollOnce</td>
+          <td> <xsl:value-of select="d:onlyEnrollOnce" /> </td>
+        </tr>
+        <tr>
+          <td>remindCompleted</td>
+          <td> <xsl:value-of select="d:remindCompleted" /> </td>
+        </tr>
+        <tr>
+          <td>disableRegistrationFields</td>
+          <td> <xsl:value-of select="d:disableRegistrationFields" /> </td>
+        </tr>
+        <tr>
+          <td>displayOnAllOrgunit</td>
+          <td> <xsl:value-of select="d:displayOnAllOrgunit" /> </td>
+        </tr>
+        <tr>
+          <td>singleEvent</td>
+          <td> <xsl:value-of select="d:singleEvent" /> </td>
+        </tr>
+        <tr>
+          <td>registration</td>
+          <td> <xsl:value-of select="d:registration" /> </td>
+        </tr>
+      </table>
+
+      <xsl:apply-templates select="d:organisationUnits|d:programStages|d:userRoles" mode="short" />
+    </div>
+  </xsl:template>
+
+</xsl:stylesheet>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/report.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/report.xsl	2012-07-30 19:02:10 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/report.xsl	2013-05-31 04:47:04 +0000
@@ -30,6 +30,10 @@
         <td> <xsl:value-of select="@id" /> </td>
       </tr>
       <tr>
+        <td>Created</td>
+        <td> <xsl:value-of select="@created" /> </td>
+      </tr>
+      <tr>
         <td>Last Updated</td>
         <td> <xsl:value-of select="@lastUpdated" /> </td>
       </tr>

=== 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	2013-05-27 14:11:49 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/reportTable.xsl	2013-05-31 04:47:04 +0000
@@ -36,6 +36,10 @@
           <td> <xsl:value-of select="@id" /> </td>
         </tr>
         <tr>
+          <td>Created</td>
+          <td> <xsl:value-of select="@created" /> </td>
+        </tr>
+        <tr>
           <td>Last Updated</td>
           <td> <xsl:value-of select="@lastUpdated" /> </td>
         </tr>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/sqlView.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/sqlView.xsl	2012-04-08 20:23:29 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/sqlView.xsl	2013-05-31 04:47:04 +0000
@@ -15,6 +15,10 @@
           <td> <xsl:value-of select="@id" /> </td>
         </tr>
         <tr>
+          <td>Created</td>
+          <td> <xsl:value-of select="@created" /> </td>
+        </tr>
+        <tr>
           <td>Last Updated</td>
           <td> <xsl:value-of select="@lastUpdated" /> </td>
         </tr>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/user.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/user.xsl	2012-04-08 20:23:29 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/user.xsl	2013-05-31 04:47:04 +0000
@@ -14,6 +14,10 @@
           <td> <xsl:value-of select="@id" /> </td>
         </tr>
         <tr>
+          <td>Created</td>
+          <td> <xsl:value-of select="@created" /> </td>
+        </tr>
+        <tr>
           <td>Last Updated</td>
           <td> <xsl:value-of select="@lastUpdated" /> </td>
         </tr>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/userAuthorityGroup.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/userAuthorityGroup.xsl	2012-08-09 13:16:13 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/userAuthorityGroup.xsl	2013-05-31 04:47:04 +0000
@@ -14,6 +14,10 @@
           <td> <xsl:value-of select="@id" /> </td>
         </tr>
         <tr>
+          <td>Created</td>
+          <td> <xsl:value-of select="@created" /> </td>
+        </tr>
+        <tr>
           <td>Last Updated</td>
           <td> <xsl:value-of select="@lastUpdated" /> </td>
         </tr>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/userGroup.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/userGroup.xsl	2012-04-08 20:23:29 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/userGroup.xsl	2013-05-31 04:47:04 +0000
@@ -14,6 +14,10 @@
           <td> <xsl:value-of select="@id" /> </td>
         </tr>
         <tr>
+          <td>Created</td>
+          <td> <xsl:value-of select="@created" /> </td>
+        </tr>
+        <tr>
           <td>Last Updated</td>
           <td> <xsl:value-of select="@lastUpdated" /> </td>
         </tr>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/validationRule.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/validationRule.xsl	2012-04-08 20:23:29 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/validationRule.xsl	2013-05-31 04:47:04 +0000
@@ -15,6 +15,10 @@
           <td> <xsl:value-of select="@id" /> </td>
         </tr>
         <tr>
+          <td>Created</td>
+          <td> <xsl:value-of select="@created" /> </td>
+        </tr>
+        <tr>
           <td>Last Updated</td>
           <td> <xsl:value-of select="@lastUpdated" /> </td>
         </tr>

=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/validationRuleGroup.xsl'
--- dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/validationRuleGroup.xsl	2012-04-08 20:23:29 +0000
+++ dhis-2/dhis-web/dhis-web-api/src/main/resources/templates/html/validationRuleGroup.xsl	2013-05-31 04:47:04 +0000
@@ -15,6 +15,10 @@
           <td> <xsl:value-of select="@id" /> </td>
         </tr>
         <tr>
+          <td>Created</td>
+          <td> <xsl:value-of select="@created" /> </td>
+        </tr>
+        <tr>
           <td>Last Updated</td>
           <td> <xsl:value-of select="@lastUpdated" /> </td>
         </tr>