------------------------------------------------------------ revno: 7616 committer: Morten Olav Hansen <morte...@gmail.com> branch nick: dhis2 timestamp: Mon 2012-07-16 10:58:15 +0300 message: (mobile) use proper labels for enrollment / incident descriptions modified: dhis-2/dhis-web/dhis-web-light/src/main/webapp/dhis-web-light/enrollment/programEnrollmentForm.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-light/src/main/webapp/dhis-web-light/enrollment/programEnrollmentForm.vm' --- dhis-2/dhis-web/dhis-web-light/src/main/webapp/dhis-web-light/enrollment/programEnrollmentForm.vm 2012-07-15 08:11:32 +0000 +++ dhis-2/dhis-web/dhis-web-light/src/main/webapp/dhis-web-light/enrollment/programEnrollmentForm.vm 2012-07-16 07:58:15 +0000 @@ -4,12 +4,12 @@ <input type="hidden" name="patientId" value="$patientId"/> <input type="hidden" name="programId" value="$programId"/> <p style="text-align: left;"> - <label>$i18n.getString( "enrollment_date" ) [yyyy-MM-dd] </label> + <label>$!encoder.htmlEncode( $program.dateOfEnrollmentDescription ) [yyyy-MM-dd] </label> #if( $validationMap.get( "enrollmentDate" ) ) <br /><span style="color: #990000;"> $i18n.getString($validationMap.get( "enrollmentDate" ))</span> #end <input type="text" name="enrollmentDate" value="#if($previousValues.get("enrollmentDate"))$previousValues.get("enrollmentDate")#else$now#end" /> - <label>$i18n.getString( "incident_date" ) [yyyy-MM-dd] </label> + <label>$!encoder.htmlEncode( $program.dateOfIncidentDescription ) [yyyy-MM-dd] </label> #if( $validationMap.get( "incidentDate" ) ) <br /><span style="color: #990000;"> $i18n.getString($validationMap.get( "incidentDate" ))</span> #end
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp