#203 Removed confusing 'summaryofissue' string

This commit is contained in:
Mark Nelson 2018-06-18 18:38:03 +08:00
parent 2868082e9e
commit 74d0fb363f
4 changed files with 1 additions and 8 deletions

View file

@ -48,7 +48,6 @@ $addons = array(
['receiveddate', 'customcert'],
['requiredtimenotmet', 'customcert'],
['selectagroup', 'moodle'],
['summaryofissue', 'customcert'],
['viewcustomcertissues', 'customcert']
],
]

View file

@ -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.
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['templatename'] = 'Template name';
$string['templatenameexists'] = 'That template name is currently in use, please choose another.';

View file

@ -91,9 +91,6 @@
<%/showreport%>
<%#hasissues%>
<ion-list>
<ion-list-header class="text-center">
<p class="item-heading">{{ 'plugin.mod_customcert.summaryofissue' | translate }}</p>
</ion-list-header>
<%#issues%>
<ion-item class="text-center">
{{ <% timecreated %> | coreToLocaleString }}

View file

@ -86,8 +86,6 @@ if (empty($action)) {
// If the current user has been issued a customcert generate HTML to display the details.
$issuelist = '';
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->class = 'generaltable';
$table->head = array(get_string('issued', 'customcert'));
@ -100,7 +98,7 @@ if (empty($action)) {
$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.