← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 12254: Renamed prop on DataValueAudit

 

------------------------------------------------------------
revno: 12254
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2013-09-26 14:05:36 +0200
message:
  Renamed prop on DataValueAudit
modified:
  dhis-2/dhis-api/src/main/java/org/hisp/dhis/datavalue/DataValueAudit.java
  dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/datavalue/DefaultDataValueAuditService.java
  dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/setting/DefaultStyleManager.java
  dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/datavalue/hibernate/DataValueAudit.hbm.xml
  dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/style/dashboard.css


--
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-api/src/main/java/org/hisp/dhis/datavalue/DataValueAudit.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/datavalue/DataValueAudit.java	2013-08-23 15:56:19 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/datavalue/DataValueAudit.java	2013-09-26 12:05:36 +0000
@@ -45,7 +45,7 @@
 
     private String storedBy;
 
-    private Date timeStamp;
+    private Date timestamp;
 
     private String comment;
 
@@ -57,12 +57,12 @@
 
     }
 
-    public DataValueAudit( DataValue dataValue, String value, String storedBy, Date timeStamp, String comment )
+    public DataValueAudit( DataValue dataValue, String value, String storedBy, Date timestamp, String comment )
     {
         this.dataValue = dataValue;
         this.value = value;
         this.storedBy = storedBy;
-        this.timeStamp = timeStamp;
+        this.timestamp = timestamp;
         this.comment = comment;
     }
 
@@ -110,14 +110,14 @@
         this.storedBy = storedBy;
     }
 
-    public Date getTimeStamp()
+    public Date getTimestamp()
     {
-        return timeStamp;
+        return timestamp;
     }
 
-    public void setTimeStamp( Date timeStamp )
+    public void setTimestamp( Date timeStamp )
     {
-        this.timeStamp = timeStamp;
+        this.timestamp = timeStamp;
     }
 
     public String getComment()
@@ -129,5 +129,4 @@
     {
         this.comment = comment;
     }
-
 }

=== modified file 'dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/datavalue/DefaultDataValueAuditService.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/datavalue/DefaultDataValueAuditService.java	2013-08-23 16:05:01 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/datavalue/DefaultDataValueAuditService.java	2013-09-26 12:05:36 +0000
@@ -52,6 +52,10 @@
         this.dataValueAuditStore = dataValueAuditStore;
     }
 
+    // -------------------------------------------------------------------------
+    // DataValueAuditService implementation
+    // -------------------------------------------------------------------------
+
     public void addDataValueAudit( DataValueAudit dataValueAudit )
     {
         dataValueAuditStore.addDataValueAudit( dataValueAudit );

=== modified file 'dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/setting/DefaultStyleManager.java'
--- dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/setting/DefaultStyleManager.java	2013-08-23 16:05:01 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/java/org/hisp/dhis/setting/DefaultStyleManager.java	2013-09-26 12:05:36 +0000
@@ -73,6 +73,10 @@
         this.defaultStyle = defaultStyle;
     }
 
+    /**
+     * Map for styles. The key refers to the user setting key and the value refers
+     * to the path to the CSS file of the style relative to /dhis-web-commons/.
+     */
     private SortedMap<String, String> styles;
 
     public void setStyles( SortedMap<String, String> styles )

=== modified file 'dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/datavalue/hibernate/DataValueAudit.hbm.xml'
--- dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/datavalue/hibernate/DataValueAudit.hbm.xml	2011-05-28 21:25:46 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/datavalue/hibernate/DataValueAudit.hbm.xml	2013-09-26 12:05:36 +0000
@@ -21,7 +21,7 @@
 
     <property name="storedBy" column="storedby" length="31" />
 
-    <property name="timeStamp" column="lastupdated" type="date" />
+    <property name="timestamp" column="lastupdated" type="timestamp" />
 
     <property name="comment" length="360" />
 

=== modified file 'dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/style/dashboard.css'
--- dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/style/dashboard.css	2013-09-19 14:26:47 +0000
+++ dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/style/dashboard.css	2013-09-26 12:05:36 +0000
@@ -365,6 +365,11 @@
   color: #E92B2B;
 }
 
+.listTable th
+{
+  background-color: rgba( 0, 0, 0, 0 );
+}
+
 /*----------------------------------------------------------------------------*/
 /* Message                                                                    */
 /*----------------------------------------------------------------------------*/