Merge branch 'wip-MDL-53227-master' of git://github.com/marinaglancy/moodle
[moodle.git] / mod / feedback / lib.php
index ce30060..f28d769 100644 (file)
@@ -3170,6 +3170,12 @@ function feedback_extend_settings_navigation(settings_navigation $settings,
                     new moodle_url('/mod/feedback/show_entries.php',
                                     array('id' => $PAGE->cm->id,
                                           'do_show' => 'showentries')));
+
+        if ($feedback->anonymous == FEEDBACK_ANONYMOUS_NO AND $feedback->course != SITEID) {
+            $feedbacknode->add(get_string('show_nonrespondents', 'feedback'),
+                        new moodle_url('/mod/feedback/show_nonrespondents.php',
+                                        array('id' => $PAGE->cm->id)));
+        }
     }
 }