=== 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-10-17 03:44:58 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/resources/org/hisp/dhis/caseentry/i18n_module.properties 2012-10-17 07:23:27 +0000
@@ -426,7 +426,6 @@
show_hide_more = Show/Hide more ...
reschedule_and_set_status = Reschedule and set status
tracking_history = Tracking history
-reschedule_due_date = Re-schedule due date
status = Status
skipped = Skipped
unknown = Unknown
=== 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 05:06:03 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/commons.js 2012-10-17 07:23:27 +0000
@@ -885,9 +885,7 @@
jQuery('#arrow_' + programStageInstanceId).remove();
jQuery('#org_' + programStageInstanceId).remove();
resetActiveEvent( programInstanceId );
- reloadOneRecord( programInstanceId );
showSuccessMessage( i18n_delete_success );
- resize();
}
else if ( json.response == "error" )
{
@@ -1239,12 +1237,12 @@
+ "
"
+ " "
+ ""
- + programName + "(" + enrollmentDate + ") | "
+ + programName + " (" + enrollmentDate + ")"
+ "";
activedRow += ""
- + "• " + programStageName + "(" + dueDate + ") |
";
+ + "• " + programStageName + " (" + dueDate + ") | ";
jQuery('#activeTB' ).prepend(activedRow);
jQuery('#enrollmentDiv').dialog("close");
@@ -1342,10 +1340,18 @@
data: "programInstanceId=" + programInstanceId,
success: function( json )
{
- jQuery('#completedList' ).append('');
- hideById('tr1_' + programInstanceId );
- hideById('tr2_' + programInstanceId );
- setInnerHTML('programEnrollmentDiv','');
+ var completed = "";
+ completed += "" + jQuery('#tr1_' + programInstanceId + " span" ).html() + " |
";
+ jQuery('#completedTB' ).prepend( completed );
+ jQuery('#tr1_' + programInstanceId ).remove();
+ jQuery('#tr2_' + programInstanceId ).remove();
+
+ jQuery("[id=tab-2] :input").prop('disabled', true);
+ jQuery("[id=tab-3] :input").prop('disabled', true);
+ jQuery("[id=tab-4] :input").prop('disabled', true);
+ jQuery("[id=tab-5] :input").prop('disabled', true);
+ jQuery("[id=tab-3] :input").datepicker("destroy");
+
showSuccessMessage( i18n_unenrol_success );
}
});
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/patient.js'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/patient.js 2012-10-11 04:30:21 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/patient.js 2012-10-17 07:23:27 +0000
@@ -243,9 +243,3 @@
$(window).scrollTop(200);
} );
}
-
-// ----------------------------------------------------------------
-// Cosmetic UI
-// ----------------------------------------------------------------
-
-function reloadOneRecord(){}
=== 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-10-17 03:44:58 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/patientDashboard.vm 2012-10-17 07:23:27 +0000
@@ -91,7 +91,7 @@
• $i18n.getString("enroll")
-
+
#foreach( $programInstance in $activeProgramInstances )
#set($programStageInstanceId = '')
#if($programInstance.program.type==2)
@@ -157,7 +157,7 @@
• $i18n.getString("enroll")
-
+
#foreach($programInstance in $completedProgramInstances)
#set($programStageInstanceId = '')
#if($programInstance.program.type==2)
@@ -165,10 +165,9 @@
#set($programStageInstanceId = $programStageInstance.id)
#end
#end
-
+
- $programInstance.program.name ($format.formatDate($programInstance.enrollmentDate))
+ $programInstance.program.name ($format.formatDate($programInstance.enrollmentDate))
|
#end
@@ -183,7 +182,7 @@
• $i18n.getString("add_new_patient")
-
+
#foreach( $rel in $relationship )
#if($rel.patientA.id==$patient.id)
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/style/style.css'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/style/style.css 2012-10-17 03:44:58 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/style/style.css 2012-10-17 07:23:27 +0000
@@ -242,17 +242,22 @@
.contentProviderTable
{
- height: 100px;
- width: 100%;
+ height: 140px;
overflow-y: auto;
overflow-x:hidden;
}
+.contentProviderTable table
+{
+ width:100%;
+}
+
.contentProviderTable td
{
padding-top:3px;
padding-bottom:3px;
border-bottom:1px solid #cad5e5;
+ cursor:pointer;
}
div.event-dashboard
@@ -395,9 +400,7 @@
div.orgunit-object
{
- border-bottom: 5px double #D0D0D0;
- height: 15px;
- margin-left: 5px;
+ margin-left: 5px;
width: 120px;
}
=== modified file 'dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/visitSchedule.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/visitSchedule.vm 2012-10-17 05:06:03 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/visitSchedule.vm 2012-10-17 07:23:27 +0000
@@ -18,14 +18,14 @@
-
+
#set($programStageInstances = $programInstance.programStageInstances)
#if( $programStageInstances.size() > 0 )