1
0
mirror of https://github.com/moodle/moodle.git synced 2025-03-15 05:00:06 +01:00

MDL-71161 mod_feedback: show feedback activity info

This commit is contained in:
Simey Lameze 2021-03-11 16:45:04 +08:00 committed by Jun Pataleta
parent a45eca85bb
commit 52b9a0c920

@ -78,6 +78,11 @@ $preview = html_writer::link($previewlnk, $previewimg);
echo $OUTPUT->heading(format_string($feedback->name) . $preview);
// Render the activity information.
$completiondetails = \core_completion\cm_completion_details::get_instance($cm, $USER->id);
$activitydates = \core\activity_dates::get_dates_for_module($cm, $USER->id);
echo $OUTPUT->activity_information($cm, $completiondetails, $activitydates);
// Print the tabs.
require('tabs.php');