dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #20268
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 9179: Changed default action on dashboard chart click to redirect to visualizer
------------------------------------------------------------
revno: 9179
committer: Lars Helge Øverland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2012-12-05 16:11:32 +0100
message:
Changed default action on dashboard chart click to redirect to visualizer
modified:
dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/resources/org/hisp/dhis/dashboard/i18n_module.properties
dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/dashboard.vm
dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/javascript/dropdown.js
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-web/dhis-web-dashboard-integration/src/main/resources/org/hisp/dhis/dashboard/i18n_module.properties'
--- dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/resources/org/hisp/dhis/dashboard/i18n_module.properties 2012-11-15 17:28:14 +0000
+++ dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/resources/org/hisp/dhis/dashboard/i18n_module.properties 2012-12-05 15:11:32 +0000
@@ -90,4 +90,6 @@
scroll_down=Scroll down
scroll_up=Scroll up
latest_interpretations=Latest interpretations
-view_full_profile=View full profile
\ No newline at end of file
+view_full_profile=View full profile
+view_full_size=View full size
+click_to_explore=Click to explore
\ No newline at end of file
=== modified file 'dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/dashboard.vm'
--- dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/dashboard.vm 2012-11-15 17:28:14 +0000
+++ dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/dashboard.vm 2012-12-05 15:11:32 +0000
@@ -13,7 +13,7 @@
<a href="javascript:hideDropDown()">$i18n.getString( "close" )</a>
<a href="javascript:clearArea( '${areaDivId}' )">$i18n.getString( "clear" )</a>
#if( $chart )
- <a href="javascript:explore( '${chart.uid}' )">$i18n.getString( "explore" )</a>
+ <a href="javascript:viewChart( '../api/charts/${chart.uid}/data', '${encoder.htmlEncode( $chart.name )}' )">$i18n.getString( "view_full_size" )</a>
<a href="javascript:viewShareForm( '${chart.uid}', '${encoder.htmlEncode( $chart.name )}' )">$i18n.getString( "share" )</a>
#end
</div>
@@ -49,7 +49,7 @@
</ul>
</div>
#if ( $chart )
- <img style="cursor:pointer" src="../api/charts/${chart.uid}/data?width=310&height=310" onclick="viewChart( '../api/charts/${chart.uid}/data', '${encoder.htmlEncode( $chart.name )}' )">
+ <img style="cursor:pointer" src="../api/charts/${chart.uid}/data?width=310&height=310" onclick="explore( '${chart.uid}' )" title="$i18n.getString( 'click_to_explore' )">
#else
<div class="labelText">
$i18n.getString( 'this_is_a_chart_area' )<br><br>
=== modified file 'dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/javascript/dropdown.js'
--- dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/javascript/dropdown.js 2012-12-05 13:49:12 +0000
+++ dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/javascript/dropdown.js 2012-12-05 15:11:32 +0000
@@ -8,7 +8,7 @@
$( "#searchField" ).focus( function() {
$( "#searchDiv" ).css( "border-color", "#999" );
} ).blur( function() {
- $( "#searchDiv" ).css( "border-color", "#ccc" );
+ $( "#searchDiv" ).css( "border-color", "#bbb" );
} );
$( "#searchField" ).focus();
=== 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 2012-11-20 21:04:24 +0000
+++ dhis-2/dhis-web/dhis-web-dashboard-integration/src/main/webapp/dhis-web-dashboard-integration/style/dashboard.css 2012-12-05 15:11:32 +0000
@@ -92,7 +92,7 @@
left: 331px;
height: 22px;
width: 335px;
- border: 1px solid #ccc;
+ border: 1px solid #bbb;
padding: 5px 6px 0 6px;
}