dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #19551
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 8570: Add identifiers and attributes which belong to select single program in Add new single event with...
------------------------------------------------------------
revno: 8570
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2012-10-18 12:35:21 +0700
message:
Add identifiers and attributes which belong to select single program in Add new single event with registration case.
modified:
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/commons.js
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/singleDataEntryForm.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/javascript/commons.js'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/commons.js 2012-10-17 09:19:19 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/commons.js 2012-10-18 05:35:21 +0000
@@ -141,7 +141,7 @@
function getAgeTextBox( container )
{
- var ageField = '<select id="dateOperator" style="width:40px;" name="dateOperator" ><option value="="> = </option><option value="<"> < </option><option value="<="> <= </option><option value=">"> > </option><option value=">="> >= </option></select>';
+ var ageField = '<select id="dateOperator" name="dateOperator" style="width:40px"><option value=">"> > </option><option value=">="> >= </option><option value="="> = </option><option value="<"> < </option><option value="<="> <= </option></select>';
ageField += '<input type="text" id="searchText_' + container + '" name="searchText" style="width:220px;">';
return ageField;
}
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/singleDataEntryForm.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/singleDataEntryForm.vm 2012-10-12 02:38:26 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/singleDataEntryForm.vm 2012-10-18 05:35:21 +0000
@@ -2,8 +2,13 @@
<tr>
<th colspan='2'>$programStage.program.name</th>
</tr>
+ #set( $mark = true )
+ <!-- Identifiers/Attributes belong to the selected single program -->
+ #set($program = $programStage.program)
+ #parse( "/dhis-web-caseentry/identifierAndAttributeForm.vm" )
+
+ <!-- Data elements -->
#set( $dataElementRowCount = 0 )
-#set( $mark = true )
#set( $tabIndex = 1 )
#foreach( $programStageDataElement in $programStageDataElements )
#set( $dataElementRowCount = $dataElementRowCount + 1 )