← Back to team overview

dhis-mobile-devs team mailing list archive

[Branch ~dhis-mobile-devs/dhis-mobile/lwuit-tracking] Rev 233: Display the Program's "Date of Incident Description" as the Incident Date's label

 

------------------------------------------------------------
revno: 233
committer: sherylyn.marie
branch nick: lwuit-tracking
timestamp: Mon 2014-08-18 16:58:56 +0800
message:
  Display the Program's "Date of Incident Description" as the Incident Date's label
modified:
  src/org/hisp/dhis/mobile/view/PersonRegistrationView.java


--
lp:~dhis-mobile-devs/dhis-mobile/lwuit-tracking
https://code.launchpad.net/~dhis-mobile-devs/dhis-mobile/lwuit-tracking

Your team DHIS mobile developers is subscribed to branch lp:~dhis-mobile-devs/dhis-mobile/lwuit-tracking.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis-mobile-devs/dhis-mobile/lwuit-tracking/+edit-subscription
=== modified file 'src/org/hisp/dhis/mobile/view/PersonRegistrationView.java'
--- src/org/hisp/dhis/mobile/view/PersonRegistrationView.java	2014-05-22 07:59:58 +0000
+++ src/org/hisp/dhis/mobile/view/PersonRegistrationView.java	2014-08-18 08:58:56 +0000
@@ -92,7 +92,7 @@
 
         if ( program != null )
         {
-            Label lblIncidentDate = new Label( "Incident date (*)" );
+            Label lblIncidentDate = new Label( program.getDateOfIncidentDescription() + " (*)" );
             mainForm.addComponent( lblIncidentDate );
             mainForm.addComponent( getTxtIncidentDate() );
             mainForm.addComponent( getRequiredLabel() );