mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-75651 mod_feedback: remove duplicated activity heading.
This commit is contained in:
parent
7c3188b2ca
commit
f22c602436
@ -74,9 +74,6 @@ $PAGE->add_body_class('limitedwidth');
|
||||
// Check if the feedback is open (timeopen, timeclose).
|
||||
if (!$feedbackcompletion->is_open()) {
|
||||
echo $OUTPUT->header();
|
||||
if (!$PAGE->has_secondary_navigation()) {
|
||||
echo $OUTPUT->heading(format_string($feedback->name));
|
||||
}
|
||||
echo $OUTPUT->box_start('generalbox boxaligncenter');
|
||||
echo $OUTPUT->notification(get_string('feedback_is_not_open', 'feedback'));
|
||||
echo $OUTPUT->continue_button(course_get_url($courseid ?: $feedback->course));
|
||||
@ -108,9 +105,6 @@ $strfeedbacks = get_string("modulenameplural", "feedback");
|
||||
$strfeedback = get_string("modulename", "feedback");
|
||||
|
||||
echo $OUTPUT->header();
|
||||
if (!$PAGE->has_secondary_navigation()) {
|
||||
echo $OUTPUT->heading(format_string($feedback->name));
|
||||
}
|
||||
|
||||
if ($feedbackcompletion->is_empty()) {
|
||||
\core\notification::error(get_string('no_items_available_yet', 'feedback'));
|
||||
|
Loading…
x
Reference in New Issue
Block a user