=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataapproval/DataApprovalLevel.java' --- dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataapproval/DataApprovalLevel.java 2014-04-03 16:03:26 +0000 +++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/dataapproval/DataApprovalLevel.java 2014-04-04 14:42:26 +0000 @@ -104,19 +104,6 @@ // ------------------------------------------------------------------------- /** - * Constructs a name that can refer to this data approval level. - * - * @return name of this data approval level. - */ - public String getName() - { - String name = orgUnitLevel - + ( categoryOptionGroupSet == null ? "" : ( " - " + categoryOptionGroupSet.getName() ) ); - - return name; - } - - /** * Returns the name of the category option group set for this data approval * level, or an empty string if there is no category option group set. * === modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/indicator.vm' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/indicator.vm 2013-12-04 12:58:11 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-datadictionary/src/main/webapp/dhis-web-maintenance-datadictionary/indicator.vm 2014-04-04 14:42:26 +0000 @@ -10,7 +10,7 @@ // Are you sure you want to delete this? var i18n_none = '$encoder.jsEscape( $i18n.getString( "none" ) , "'")'; var i18n_yes = '$encoder.jsEscape( $i18n.getString( "yes" ) , "'")'; - var i18n_no = '$encoder.jsEscape( $i18n.getString( "no" ) , "'")'; + var i18n_no = '$encoder.jsEscape( $i18n.getString( "no" ) , "'")'; var i18n_adding_indicator_failed = '$encoder.jsEscape( $i18n.getString( "adding_indicator_failed" ) , "'")'; var i18n_saving_indicator_failed = '$encoder.jsEscape( $i18n.getString( "saving_indicator_failed" ) , "'")'; === modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-settings/src/main/webapp/dhis-web-maintenance-settings/javascripts/systemApprovalSettings.js' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-settings/src/main/webapp/dhis-web-maintenance-settings/javascripts/systemApprovalSettings.js 2014-02-19 04:19:40 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-settings/src/main/webapp/dhis-web-maintenance-settings/javascripts/systemApprovalSettings.js 2014-04-04 14:42:26 +0000 @@ -1,3 +1,10 @@ +$(function() { + dhis2.contextmenu.makeContextMenu({ + menuId: 'contextMenu', + menuItemActiveClass: 'contextMenuItemActive' + }); +}); + function removeApprovalLevel( context ) { removeItem( context.id, context.name, i18n_confirm_delete_data_approval_level, 'removeApprovalLevel.action' ); } === modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-settings/src/main/webapp/dhis-web-maintenance-settings/systemApprovalSettings.vm' --- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-settings/src/main/webapp/dhis-web-maintenance-settings/systemApprovalSettings.vm 2014-03-31 10:35:11 +0000 +++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-settings/src/main/webapp/dhis-web-maintenance-settings/systemApprovalSettings.vm 2014-04-04 14:42:26 +0000 @@ -1,3 +1,6 @@ + +#sharingDialog() +