← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 7516: local vn - Allowed to sort items in selected list.

 

------------------------------------------------------------
revno: 7516
committer: Hieu <hieu.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2012-07-05 15:39:17 +0700
message:
  local vn - Allowed to sort items in selected list.
modified:
  local/vn/dhis-web-spreadsheet-reporting/src/main/webapp/dhis-web-spreadsheet-reporting/sortAttributeValues.vm
  local/vn/dhis-web-spreadsheet-reporting/src/main/webapp/dhis-web-spreadsheet-reporting/updateAttributeValueGroupOrderForReportForm.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 'local/vn/dhis-web-spreadsheet-reporting/src/main/webapp/dhis-web-spreadsheet-reporting/sortAttributeValues.vm'
--- local/vn/dhis-web-spreadsheet-reporting/src/main/webapp/dhis-web-spreadsheet-reporting/sortAttributeValues.vm	2012-04-26 18:25:07 +0000
+++ local/vn/dhis-web-spreadsheet-reporting/src/main/webapp/dhis-web-spreadsheet-reporting/sortAttributeValues.vm	2012-07-05 08:39:17 +0000
@@ -1,7 +1,6 @@
 <h3>$i18n.getString( "sort_attributevalue" )</h3>
-<form action="updateSortedAttributeValuesFor${clazzName}.action" method="POST">
+<form action="updateSortedAttributeValues.action" method="POST">
 <input type="hidden" value="$!attributeValueGroupOrder.id" name="id"/>
-<input type="hidden" value="$!reportId" name="reportId"/>
 <table>
 	<tr>
   		<th>$i18n.getString( "available_attributevalues" )</th>

=== modified file 'local/vn/dhis-web-spreadsheet-reporting/src/main/webapp/dhis-web-spreadsheet-reporting/updateAttributeValueGroupOrderForReportForm.vm'
--- local/vn/dhis-web-spreadsheet-reporting/src/main/webapp/dhis-web-spreadsheet-reporting/updateAttributeValueGroupOrderForReportForm.vm	2012-07-04 10:12:19 +0000
+++ local/vn/dhis-web-spreadsheet-reporting/src/main/webapp/dhis-web-spreadsheet-reporting/updateAttributeValueGroupOrderForReportForm.vm	2012-07-05 08:39:17 +0000
@@ -61,6 +61,12 @@
 			#end
 			</select>
 		</td>
+		<td>
+			<a href="javascript:moveSelectedOptionToTop( 'groupMembers' );"><img align="absmiddle" src="../images/move_top.png" style="cursor:pointer;width:20px;"/></a><br/><br/>
+			<a href="javascript:moveUpSelectedOption( 'groupMembers' );"><img align="absmiddle" src="../images/move_up.png" style="cursor:pointer;width:20px;"/></a><br/><br/>
+			<a href="javascript:moveDownSelectedOption( 'groupMembers' );"><img align="absmiddle" src="../images/move_down.png" style="cursor:pointer;width:20px;"/></a><br/><br/>
+			<a href="javascript:moveSelectedOptionToBottom( 'groupMembers' );"><img align="absmiddle" src="../images/move_bottom.png" style="cursor:pointer;width:20px;"/></a>
+		</td>
 	</tr>
 </table>