dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #22730
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 11020: Analytics ui, disabling data mart by default
------------------------------------------------------------
revno: 11020
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2013-05-27 17:33:36 +0200
message:
Analytics ui, disabling data mart by default
modified:
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/resources/org/hisp/dhis/dataadmin/i18n_module.properties
dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/javascript/dataMart.js
dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/viewDataMartForm.vm
--
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-maintenance/dhis-web-maintenance-dataadmin/src/main/resources/org/hisp/dhis/dataadmin/i18n_module.properties'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/resources/org/hisp/dhis/dataadmin/i18n_module.properties 2013-05-27 11:07:26 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/resources/org/hisp/dhis/dataadmin/i18n_module.properties 2013-05-27 15:33:36 +0000
@@ -8,6 +8,7 @@
maintenance_performed=Maintenance performed
generating_resource_tables=Generating resource tables
resource_tables_generated=Resource tables generated
+clear_analytics_tables=Clear analytics tables
maintenance=Maintenance
resource_table=Resource Table
clear_dataset_completeness=Clear data set completeness
=== modified file 'dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/javascript/dataMart.js'
--- dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/javascript/dataMart.js 2013-03-15 13:49:43 +0000
+++ dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/javascript/dataMart.js 2013-05-27 15:33:36 +0000
@@ -2,6 +2,7 @@
$( document ).ready( function() {
datePickerInRange( 'startDate' , 'endDate' );
pingNotificationsTimeout();
+ $( '.dataMart' ).attr( 'disabled', 'disabled' );
} );
function startExport()
=== modified file 'dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/viewDataMartForm.vm'
--- dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/viewDataMartForm.vm 2013-03-06 10:51:15 +0000
+++ dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/viewDataMartForm.vm 2013-05-27 15:33:36 +0000
@@ -15,7 +15,7 @@
<div class="settingHeader">$i18n.getString( "data_mart" )</div>
<div class="setting">
- <input type="checkbox" id="dataMart" checked="checked" />
+ <input type="checkbox" id="dataMart" />
<label for="dataMart" onclick="toggleDataMart()">$i18n.getString( "data_mart_tables_update" )</label>
</div>