MDL-46188 core_course: use correct hide/show icon
authorMark Nelson <markn@moodle.com>
Wed, 20 Aug 2014 03:52:46 +0000 (20:52 -0700)
committerDamyon Wiese <damyon@moodle.com>
Wed, 20 Aug 2014 04:04:35 +0000 (12:04 +0800)
course/classes/management_renderer.php

index 40c79d5..eded3a7 100644 (file)
@@ -1215,13 +1215,13 @@ class core_course_management_renderer extends plugin_renderer_base {
             if ($course->can_change_visibility()) {
                     $actions[] = $this->output->action_icon(
                         new moodle_url($baseurl, array('action' => 'hidecourse')),
-                        new pix_icon('t/show', get_string('hide')),
+                        new pix_icon('t/hide', get_string('hide')),
                         null,
                         array('data-action' => 'hide', 'class' => 'action-hide')
                     );
                     $actions[] = $this->output->action_icon(
                         new moodle_url($baseurl, array('action' => 'showcourse')),
-                        new pix_icon('t/hide', get_string('show')),
+                        new pix_icon('t/show', get_string('show')),
                         null,
                         array('data-action' => 'show', 'class' => 'action-show')
                     );