Permalink
Browse files

MDL-35238 Remove the hide/show icon from the Plugins overview page

This was reported in forums as an usability issue. This icon is used
across Moodle as an active link to hide or show things - not as a status
icon. People were trying to disable plugins by clicking the icon. Until
there is a full support for doing this from the Plugins overview page,
it is better to remove the icons completely.
  • Loading branch information...
1 parent 4df8bce commit 7bc759bd448b9410222b0d2421b5abb786b0186c @mudrd8mz mudrd8mz committed Sep 18, 2012
Showing with 2 additions and 4 deletions.
  1. +2 −4 admin/renderer.php
View
6 admin/renderer.php
@@ -1065,12 +1065,10 @@ public function plugins_control_panel(plugin_manager $pluginman, array $options
$availability = new html_table_cell('');
} else if ($isenabled) {
$row->attributes['class'] .= ' enabled';
- $icon = $this->output->pix_icon('i/hide', get_string('pluginenabled', 'core_plugin'));
- $availability = new html_table_cell($icon . ' ' . get_string('pluginenabled', 'core_plugin'));
+ $availability = new html_table_cell(get_string('pluginenabled', 'core_plugin'));
} else {
$row->attributes['class'] .= ' disabled';
- $icon = $this->output->pix_icon('i/show', get_string('plugindisabled', 'core_plugin'));
- $availability = new html_table_cell($icon . ' ' . get_string('plugindisabled', 'core_plugin'));
+ $availability = new html_table_cell(get_string('plugindisabled', 'core_plugin'));
}
$actions = array();

0 comments on commit 7bc759b

Please sign in to comment.