#203 Make report heading/title consistent with core activities
This commit is contained in:
parent
bc527a0669
commit
9d68fcead2
2 changed files with 3 additions and 4 deletions
|
@ -33,7 +33,6 @@ $string['coursetimereq'] = 'Required minutes in course';
|
||||||
$string['coursetimereq_help'] = 'Enter here the minimum amount of time, in minutes, that a student must be logged into the course before they will be able to receive
|
$string['coursetimereq_help'] = 'Enter here the minimum amount of time, in minutes, that a student must be logged into the course before they will be able to receive
|
||||||
the certificate.';
|
the certificate.';
|
||||||
$string['createtemplate'] = 'Create template';
|
$string['createtemplate'] = 'Create template';
|
||||||
$string['customcertreport'] = 'Custom certificate report';
|
|
||||||
$string['customcert:addinstance'] = 'Add a new custom certificate instance';
|
$string['customcert:addinstance'] = 'Add a new custom certificate instance';
|
||||||
$string['customcert:manage'] = 'Manage a custom certificate';
|
$string['customcert:manage'] = 'Manage a custom certificate';
|
||||||
$string['customcert:view'] = 'View a custom certificate';
|
$string['customcert:view'] = 'View a custom certificate';
|
||||||
|
|
|
@ -104,13 +104,13 @@ if ($table->is_downloading()) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set up the page.
|
// Set up the page.
|
||||||
\mod_customcert\page_helper::page_setup($pageurl, $context, get_string('customcertreport', 'customcert'));
|
\mod_customcert\page_helper::page_setup($pageurl, $context, $customcert->name);
|
||||||
|
|
||||||
// Additional page setup.
|
// Additional page setup.
|
||||||
$PAGE->navbar->add(get_string('customcertreport', 'customcert'));
|
$PAGE->navbar->add(get_string('listofissues', 'customcert'));
|
||||||
|
|
||||||
echo $OUTPUT->header();
|
echo $OUTPUT->header();
|
||||||
echo $OUTPUT->heading(get_string('listofissues', 'customcert'));
|
echo $OUTPUT->heading(format_string($customcert->name), 2);
|
||||||
|
|
||||||
groups_print_activity_menu($cm, $url);
|
groups_print_activity_menu($cm, $url);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue