MDL-45274 mod_feedback: show heading on non-respondents page
This commit is contained in:
committed by
Eloy Lafuente (stronk7)
parent
28e7877645
commit
37b3541eab
@@ -3171,6 +3171,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)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -124,10 +124,10 @@ if ($action == 'sendmessage' AND has_capability('moodle/course:bulkmessaging', $
|
||||
////////////////////////////////////////////////////////
|
||||
|
||||
/// Print the page header
|
||||
$PAGE->navbar->add(get_string('show_nonrespondents', 'feedback'));
|
||||
$PAGE->set_heading($course->fullname);
|
||||
$PAGE->set_title($feedback->name);
|
||||
echo $OUTPUT->header();
|
||||
echo $OUTPUT->heading(format_string($feedback->name));
|
||||
|
||||
require('tabs.php');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user