#203 Added new string for list of awarded certificates

This commit is contained in:
Mark Nelson 2018-06-19 21:33:11 +08:00
parent 75a9357dd1
commit 18ce8da214
4 changed files with 4 additions and 3 deletions

View file

@ -39,7 +39,7 @@ $addons = array(
'lang' => [ // Language strings that are used in all the handlers.
['deleteissueconfirm', 'customcert'],
['getcustomcert', 'customcert'],
['modulenameplural', 'customcert'],
['listofissues', 'customcert'],
['nothingtodisplay', 'moodle'],
['pluginname', 'customcert'],
['receiveddate', 'customcert'],

View file

@ -97,6 +97,7 @@ $string['invalidwidth'] = 'The width has to be a valid number greater than 0.';
$string['landscape'] = 'Landscape';
$string['leftmargin'] = 'Left margin';
$string['leftmargin_help'] = 'This is the left margin of the certificate PDF in mm.';
$string['listofissues'] = 'List of awarded certificates';
$string['load'] = 'Load';
$string['loadtemplate'] = 'Load template';
$string['loadtemplatemsg'] = 'Are you sure you wish to load this template? This will remove any existing pages and elements for this certificate.';

View file

@ -110,7 +110,7 @@ if ($table->is_downloading()) {
$PAGE->navbar->add(get_string('customcertreport', 'customcert'));
echo $OUTPUT->header();
echo $OUTPUT->heading(get_string('modulenameplural', 'customcert'));
echo $OUTPUT->heading(get_string('listofissues', 'customcert'));
groups_print_activity_menu($cm, $url);

View file

@ -81,7 +81,7 @@
</ion-item>
<%/showgroups%>
<ion-item class="text-center">
<p class="item-heading">{{ 'plugin.mod_customcert.modulenameplural' | translate }}</p>
<p class="item-heading">{{ 'plugin.mod_customcert.listofissues' | translate }}</p>
</ion-item>
<%#hasissues%>
<ion-list>