dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #15659
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 5731: Only show Shown-on-report column in Update program-stage form for anonymous program.
------------------------------------------------------------
revno: 5731
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Sun 2012-01-15 09:31:14 +0700
message:
Only show Shown-on-report column in Update program-stage form for anonymous program.
modified:
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/updateProgramStageForm.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-patient/src/main/webapp/dhis-web-maintenance-patient/updateProgramStageForm.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/updateProgramStageForm.vm 2012-01-15 02:14:29 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/updateProgramStageForm.vm 2012-01-15 02:31:14 +0000
@@ -107,7 +107,7 @@
<thead>
<tr><th>$i18n.getString( "dataelement" )</th>
<th width="20px">$i18n.getString( "compulsory" )</th>
- #if( $programStage.program.singleEvent == 'true' )
+ #if( $programStage.program.anonymous == 'true' )
<th width="20px">$i18n.getString( "shown_on_reports" )</th>
#end
</thead>
@@ -116,7 +116,7 @@
<tr ondblclick="unSelectDataElement( this )" id="$programStageDataElement.dataElement.id">
<td onclick="select(this)">$encoder.htmlEncode( $programStageDataElement.dataElement.name )</td>
<td align="center"><input type="checkbox" name="compulsory" value="$programStageDataElement.dataElement.id" #if($programStageDataElement.compulsory == true ) checked #end /></td>
- #if( $programStage.program.singleEvent == 'true' )
+ #if( $programStage.program.anonymous == 'true' )
<td align="center"><input type="checkbox" name="isShow" value="$programStageDataElement.dataElement.id" #if($programStageDataElement.showOnReport == true ) checked #end /></td>
#end
</tr>