=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/resources/org/hisp/dhis/dataset/i18n_module.properties' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/resources/org/hisp/dhis/dataset/i18n_module.properties 2011-10-23 18:51:10 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/resources/org/hisp/dhis/dataset/i18n_module.properties 2011-10-23 19:14:09 +0000 @@ -137,4 +137,5 @@ select_org_unit = Select organisation unit assigned = Assigned unassigned = Unassigned -show_selection_box = Show selection box \ No newline at end of file +show_selection_box = Show selection box +greyed_field = Greyed field \ No newline at end of file === modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/viewDataEntryForm.js' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/viewDataEntryForm.js 2011-08-19 21:33:57 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/javascript/viewDataEntryForm.js 2011-10-23 19:14:09 +0000 @@ -201,6 +201,8 @@ var dataEntryId = dataElementId + "-" + optionComboId + "-val"; var html = ""; + + var greyedField = $( "#greyedField" ).is( ":checked" ) ? " disabled=\"disabled\"" : ""; if (dataElementType == "bool") { html = ""; + + "\" style=\"width:7em;text-align:center\"" + greyedField + "/>"; } if (!checkExisted(dataEntryId)) { === modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/viewDataEntryForm.vm' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/viewDataEntryForm.vm 2011-10-23 18:51:10 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-dataset/src/main/webapp/dhis-web-maintenance-dataset/viewDataEntryForm.vm 2011-10-23 19:14:09 +0000 @@ -156,18 +156,17 @@ - -   |  +