#140 Add text describing the my certificates list

This commit is contained in:
Mark Nelson 2017-11-11 14:37:39 +08:00
parent bd160b420a
commit b189236b6e
2 changed files with 2 additions and 0 deletions

View file

@ -107,6 +107,7 @@ $string['modulenameplural'] = 'Custom certificates';
$string['modulename_help'] = 'This module allows for the dynamic generation of PDF certificates.';
$string['modulename_link'] = 'Custom_certificate_module';
$string['mycertificates'] = 'My certificates';
$string['mycertificatesdescription'] = 'These are the certificates you have been issued by either email or downloading manually.';
$string['name'] = 'Name';
$string['nametoolong'] = 'You have exceeded the maximum length allowed for the name';
$string['nocustomcerts'] = 'There are no certificates for this course';

View file

@ -75,5 +75,6 @@ $PAGE->navbar->add(get_string('mycertificates', 'customcert'));
echo $OUTPUT->header();
echo $OUTPUT->heading(get_string('mycertificates', 'customcert'));
echo html_writer::div(get_string('mycertificatesdescription', 'customcert'));
$table->out($perpage, false);
echo $OUTPUT->footer();