dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #12967
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4064: Add sorted button by orgunit and period for validation-rule analysis result.
------------------------------------------------------------
revno: 4064
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2011-07-05 09:32:39 +0700
message:
Add sorted button by orgunit and period for validation-rule analysis result.
modified:
dhis-2/dhis-web/dhis-web-validationrule/src/main/webapp/dhis-web-validationrule/viewValidationResultForm.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-validationrule/src/main/webapp/dhis-web-validationrule/viewValidationResultForm.vm'
--- dhis-2/dhis-web/dhis-web-validationrule/src/main/webapp/dhis-web-validationrule/viewValidationResultForm.vm 2011-03-18 14:58:26 +0000
+++ dhis-2/dhis-web/dhis-web-validationrule/src/main/webapp/dhis-web-validationrule/viewValidationResultForm.vm 2011-07-05 02:32:39 +0000
@@ -45,7 +45,7 @@
<div id="validationResults">
-<table class="listTable" style="width:100%">
+<table class="listTable" id="validationRuleList" style="width:100%">
<colgroup>
<col>
<col>
@@ -60,12 +60,12 @@
<tr>
<th>$i18n.getString( "organisation_unit" )</th>
<th>$i18n.getString( "period" )</th>
- <th>$i18n.getString( "left_side_description" )</th>
- <th>$i18n.getString( "value" )</th>
- <th>$i18n.getString( "operator" )</th>
- <th>$i18n.getString( "value" )</th>
- <th>$i18n.getString( "right_side_description" )</th>
- <th>$i18n.getString( "details" )</th>
+ <th class="{sorter: false}">$i18n.getString( "left_side_description" )</th>
+ <th class="{sorter: false}">$i18n.getString( "value" )</th>
+ <th class="{sorter: false}">$i18n.getString( "operator" )</th>
+ <th class="{sorter: false}">$i18n.getString( "value" )</th>
+ <th class="{sorter: false}">$i18n.getString( "right_side_description" )</th>
+ <th class="{sorter: false}">$i18n.getString( "details" )</th>
</tr>
</thead>
<tbody>
@@ -119,3 +119,9 @@
</div>
#end
+
+<script type="text/javascript">
+ jQuery(document).ready(function(){
+ tableSorter( 'validationRuleList' );
+ });
+</script>