=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/javascript/programStage.js'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/javascript/programStage.js 2012-01-11 07:42:49 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/javascript/programStage.js 2012-01-30 04:32:58 +0000
@@ -59,7 +59,8 @@
jQuery("#availableList").children().each(function(i, item){
if( item.selected ){
html = "
" + item.text + " | ";
- html += " | ";
+ html += " | ";
+ html += " | ";
html += "
";
selectedList.append( html );
jQuery( item ).remove();
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/javascript/updateProgramStageForm.js'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/javascript/updateProgramStageForm.js 2012-01-15 02:14:29 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/javascript/updateProgramStageForm.js 2012-01-30 04:32:58 +0000
@@ -12,6 +12,7 @@
showOnReport = jQuery( "#showOnReport" );
showOnReport.empty();
+ var hasDeShowReport = false;
jQuery("#selectedList").find("tr").each( function( i, item ){
selectedDataElementsValidator.append( "" );
var compulsory = jQuery( item ).find( "input[name='compulsory']:first");
@@ -22,6 +23,11 @@
checked = isShow.attr('checked') ? true : false;
showOnReport.append( "" );
+ if( checked )
+ {
+ hasDeShowReport = true;
+ showOnReport = jQuery( "#checkShowOnReport" )..append( "" );
+ }
});
});
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/updateProgramStageForm.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/updateProgramStageForm.vm 2012-01-15 16:21:07 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-patient/src/main/webapp/dhis-web-maintenance-patient/updateProgramStageForm.vm 2012-01-30 04:32:58 +0000
@@ -86,7 +86,7 @@
$i18n.getString( "selected_data_elements" )
-
+
|
@@ -108,7 +108,9 @@
$i18n.getString( "dataelement" ) |
$i18n.getString( "compulsory" ) |
#if( $programStage.program.anonymous == 'true' )
- $i18n.getString( "shown_on_reports" ) |
+ $i18n.getString( "shown_on_reports" )
+
+ |
#end