← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 18099: Small fix in Min-Max Value Generation UI.

 

------------------------------------------------------------
revno: 18099
committer: Tran Chau<tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2015-01-22 07:59:09 +0700
message:
  Small fix in Min-Max Value Generation UI.
modified:
  dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/webapp/dhis-web-maintenance-dataadmin/minMaxValidation.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/webapp/dhis-web-maintenance-dataadmin/minMaxValidation.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/webapp/dhis-web-maintenance-dataadmin/minMaxValidation.vm	2013-10-02 10:50:18 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataadmin/src/main/webapp/dhis-web-maintenance-dataadmin/minMaxValidation.vm	2015-01-22 00:59:09 +0000
@@ -3,6 +3,13 @@
 	var i18n_not_choose_organisation = '$encoder.jsEncode( $i18n.getString( "not_choose_organisation" ) )';
 	var i18n_generating_min_max_values = '$encoder.jsEncode( $i18n.getString( "generating_min_max_values" ) )';
 	var i18n_removing_min_max_values = '$encoder.jsEncode( $i18n.getString( "removing_min_max_values" ) )';
+	
+	$(document).ready(function(){
+		$('#ouTD thead').hide();
+		$('#selectionTree').css('height', 310);	
+		$('#selectionTree').css('width', 350);	
+	});
+	
 </script>
 
 <h3>$i18n.getString( "min_max_value_generation" ) #openHelp( "minMaxValueGeneration" )</h3>
@@ -10,17 +17,18 @@
 <form id="minMaxGeneratingForm" method="post">
 <table>
   <tr>
-    <th colspan="2">$i18n.getString('available_dataset')</th>
-    <td rowspan="2">#organisationUnitSelectionTree( false, false, true ) </td>
+    <th>$i18n.getString('available_dataset')</th>
+    <th>$i18n.getString( "organisation_unit_selection_tree" )</th>
   </tr>
   <tr>
-    <td colspan="2" rowspan="2">
-		<select size="26px" multiple="multiple" style="width:30em" id="dataSetIds" name="dataSetIds">
+    <td>
+		<select size="20px" multiple="multiple" style="width:350px;height:315px" id="dataSetIds" name="dataSetIds">
 			#foreach( $dataSet in $dataSets )
 			  <option value="$dataSet.id">$encoder.htmlEncode( $dataSet.displayName )</option>
 			#end
 		</select>
 	</td>
+    <td id='ouTD'>#organisationUnitSelectionTree( false, false, true ) </td>
     </td>
   </tr>
   <tr>