← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 8208: Minor fix for Dashboard UI.

 

------------------------------------------------------------
revno: 8208
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Sun 2012-09-23 20:07:21 +0700
message:
  Minor fix for Dashboard UI.
modified:
  dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/org/hisp/dhis/caseentry/i18n_module.properties
  dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/patientDashboard.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/resources/org/hisp/dhis/caseentry/i18n_module.properties'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/org/hisp/dhis/caseentry/i18n_module.properties	2012-09-22 15:52:58 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/org/hisp/dhis/caseentry/i18n_module.properties	2012-09-23 13:07:21 +0000
@@ -131,7 +131,7 @@
 patient_registered=Person registered
 patient_details=Person details
 enrolled_in_program=Enrolled in programs
-update_patient=Edit profile of person
+update_patient=Edit profile
 search_by_name_identifier=Search by name or identifier
 add_new_patient=Register new person
 patient_identifier=Person identifier
@@ -458,4 +458,6 @@
 no_program_available_for_enrollment = No program is available for enrollment
 reschedule = Re-schedule
 the_date_is_scheduled = The date is scheduled
-move_to_dashboard_of = Move to dashboard of
\ No newline at end of file
+move_to_dashboard_of = Move to dashboard of
+management = Management
+change_location = Change location
\ No newline at end of file

=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/patientDashboard.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/patientDashboard.vm	2012-09-22 15:52:58 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/patientDashboard.vm	2012-09-23 13:07:21 +0000
@@ -1,9 +1,6 @@
 <h3>
  <a href="javascript:onClickBackBtn();">$i18n.getString( 'patient_management' )</a>
  &#8226; $i18n.getString( 'patient_dashboard' )
- &#8226; <a href="javascript:showUpdatePatientForm( '$patient.id', true )">$i18n.getString( "edit_profile" )</a>
- &#8226; <a href="javascript:setFieldValue( 'isShowPatientList', 'false' ); showRelationshipList( '$patient.id' );">$i18n.getString( "manage_relationship" )</a>
- &#8226; <a href="javascript:getPatientLocation( '$patient.id' );">$i18n.getString( "change_patient_location" )</a>
 </h3>
 
 <table>
@@ -14,7 +11,12 @@
 					<td>
 						<div class="link-area">
 							<table width='100%'>
-								<tr><th>$i18n.getString("demographics")</th></tr>
+								<tr><th>
+									$i18n.getString("demographics")
+									<a href="javascript:showUpdatePatientForm( '$patient.id', true );"><label class='bold'>&laquo; $i18n.getString("edit_profile") &raquo;</label></a>
+									<a href="javascript:getPatientLocation( '$patient.id', true );"><label class='bold'>&laquo; $i18n.getString("change_location") &raquo;</label></a>
+							
+								</th></tr>
 							</table>
 							<div class="contentProviderTable">
 								<table width='100%'>
@@ -150,7 +152,10 @@
 					<td>
 						<div class="link-area">
 							<table width='100%'>
-								<tr><th>$i18n.getString("relationships")</th></tr>
+								<tr><th>
+									$i18n.getString("relationships")
+									<a href="javascript:setFieldValue( 'isShowPatientList', 'false' ); showRelationshipList( '$patient.id' );"><label class='bold'>&laquo; $i18n.getString("management") &raquo;</label></a>
+									</th></tr>
 							</table>
 							<div class="contentProviderTable">
 								<table width='100%'>