dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #18617
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 7903: Add create repeatable button into entry form.
------------------------------------------------------------
revno: 7903
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2012-08-13 15:08:38 +0700
message:
Add create repeatable button into entry form.
modified:
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programStageInstanceFlow.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-caseentry/src/main/webapp/dhis-web-caseentry/programStageInstanceFlow.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programStageInstanceFlow.vm 2012-08-13 06:36:23 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/programStageInstanceFlow.vm 2012-08-13 08:08:38 +0000
@@ -1,10 +1,10 @@
<table id='programStageIdTB' style="width:850px;height:125px;">
<tr>
<td>
- <div class="arrow-left" onclick="moveLeft('flow_$programInstance.id')"> </div>
+ <div class="arrow-left" onclick="moveLeft('flow_$!programInstance.id')"> </div>
</td>
<td>
- <div id='flow_$programInstance.id' class="stage-flow">
+ <div id='flow_$!programInstance.id' class="stage-flow">
<table class="stage-flow">
<tr id='programStageIdTR'>
#foreach( $programStageInstance in $programStageInstances )
@@ -24,7 +24,11 @@
</div>
</td>
<td>
- <div class="arrow-right" onclick="moveRight('flow_$programInstance.id')"> </div>
+ <div class="arrow-right" onclick="moveRight('flow_$!programInstance.id')"> </div>
+ </td>
+ <td> </td>
+ <td>
+ <input type="button" class='stage-object' id="newEncounterBtn" value="$i18n.getString('create_new_event')" onClick="javascript: registerIrregularEncounter( getFieldValue('executionDate') );" disabled="disabled" #if($!programInstance.id) style='display:none' #end>
</td>
</tr>
</table>
\ No newline at end of file