#203 Removed confusing 'summaryofissue' string
This commit is contained in:
parent
fab998e07d
commit
9c633f1b28
4 changed files with 1 additions and 8 deletions
|
@ -48,7 +48,6 @@ $addons = array(
|
||||||
['receiveddate', 'customcert'],
|
['receiveddate', 'customcert'],
|
||||||
['requiredtimenotmet', 'customcert'],
|
['requiredtimenotmet', 'customcert'],
|
||||||
['selectagroup', 'moodle'],
|
['selectagroup', 'moodle'],
|
||||||
['summaryofissue', 'customcert'],
|
|
||||||
['viewcustomcertissues', 'customcert']
|
['viewcustomcertissues', 'customcert']
|
||||||
],
|
],
|
||||||
]
|
]
|
||||||
|
|
|
@ -154,7 +154,6 @@ $string['showposxy'] = 'Show position X and Y';
|
||||||
$string['showposxy_desc'] = 'This will show the X and Y position when editing of an element, allowing the user to accurately specify the location.
|
$string['showposxy_desc'] = 'This will show the X and Y position when editing of an element, allowing the user to accurately specify the location.
|
||||||
|
|
||||||
This isn\'t required if you plan on solely using the drag and drop interface for this purpose.';
|
This isn\'t required if you plan on solely using the drag and drop interface for this purpose.';
|
||||||
$string['summaryofissue'] = 'Summary of issue';
|
|
||||||
$string['taskemailcertificate'] = 'Handles emailing certificates.';
|
$string['taskemailcertificate'] = 'Handles emailing certificates.';
|
||||||
$string['templatename'] = 'Template name';
|
$string['templatename'] = 'Template name';
|
||||||
$string['templatenameexists'] = 'That template name is currently in use, please choose another.';
|
$string['templatenameexists'] = 'That template name is currently in use, please choose another.';
|
||||||
|
|
|
@ -91,9 +91,6 @@
|
||||||
<%/showreport%>
|
<%/showreport%>
|
||||||
<%#hasissues%>
|
<%#hasissues%>
|
||||||
<ion-list>
|
<ion-list>
|
||||||
<ion-list-header class="text-center">
|
|
||||||
<p class="item-heading">{{ 'plugin.mod_customcert.summaryofissue' | translate }}</p>
|
|
||||||
</ion-list-header>
|
|
||||||
<%#issues%>
|
<%#issues%>
|
||||||
<ion-item class="text-center">
|
<ion-item class="text-center">
|
||||||
{{ <% timecreated %> | coreToLocaleString }}
|
{{ <% timecreated %> | coreToLocaleString }}
|
||||||
|
|
4
view.php
4
view.php
|
@ -86,8 +86,6 @@ if (empty($action)) {
|
||||||
// If the current user has been issued a customcert generate HTML to display the details.
|
// If the current user has been issued a customcert generate HTML to display the details.
|
||||||
$issuelist = '';
|
$issuelist = '';
|
||||||
if ($issues = $DB->get_records('customcert_issues', array('userid' => $USER->id, 'customcertid' => $customcert->id))) {
|
if ($issues = $DB->get_records('customcert_issues', array('userid' => $USER->id, 'customcertid' => $customcert->id))) {
|
||||||
$header = $OUTPUT->heading(get_string('summaryofissue', 'customcert'));
|
|
||||||
|
|
||||||
$table = new html_table();
|
$table = new html_table();
|
||||||
$table->class = 'generaltable';
|
$table->class = 'generaltable';
|
||||||
$table->head = array(get_string('issued', 'customcert'));
|
$table->head = array(get_string('issued', 'customcert'));
|
||||||
|
@ -100,7 +98,7 @@ if (empty($action)) {
|
||||||
$table->data[$issue->id] = $row;
|
$table->data[$issue->id] = $row;
|
||||||
}
|
}
|
||||||
|
|
||||||
$issuelist = $header . html_writer::table($table) . "<br />";
|
$issuelist = html_writer::table($table) . "<br />";
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create the button to download the customcert.
|
// Create the button to download the customcert.
|
||||||
|
|
Loading…
Reference in a new issue