dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #14206
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4733: Add single-event field for program ( Patient module ).
------------------------------------------------------------
revno: 4733
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2011-09-28 15:23:38 +0700
message:
Add single-event field for program ( Patient module ).
modified:
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/addProgramForm.vm
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/updateProgramForm.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/addProgramForm.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/addProgramForm.vm 2011-09-28 07:48:12 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/addProgramForm.vm 2011-09-28 08:23:38 +0000
@@ -43,6 +43,12 @@
<td></td>
</tr>
+ <tr>
+ <td><label>$i18n.getString( "single_event" ) <em title="$i18n.getString( "required" )" class="required">*</em></label></td>
+ <td><input type="checkbox" id="singleEvent" name="singleEvent" value='true'></td>
+ <td></td>
+ </tr>
+
<tr>
<td colspan="2" style="height:15px"></td>
</tr>
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/updateProgramForm.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/updateProgramForm.vm 2011-09-28 07:48:12 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/updateProgramForm.vm 2011-09-28 08:23:38 +0000
@@ -55,7 +55,14 @@
<td><label>$i18n.getString( "no_max_days_allowed_input_data" ) <em title="$i18n.getString( "required" )" class="required">*</em></label></td>
<td><input type="text" id="maxDaysAllowedInputData" name="maxDaysAllowedInputData" value="$!program.maxDaysAllowedInputData" style="width:30em" class="{validate:{required:true,number:true}}"></td>
<td></td>
- </tr>
+ </tr>
+
+ <tr>
+ <td><label>$i18n.getString( "single_event" ) <em title="$i18n.getString( "required" )" class="required">*</em></label></td>
+ <td><input type="checkbox" id="singleEvent" name="singleEvent" #if( $program.singleEvent=='true' ) checked #end></td>
+ <td></td>
+ </tr>
+
<tr>
<td colspan="2" style="height:15px"></td>
</tr>