diff --git a/db/mobile.php b/db/mobile.php index e9ece98..53db001 100644 --- a/db/mobile.php +++ b/db/mobile.php @@ -48,7 +48,6 @@ $addons = array( ['receiveddate', 'customcert'], ['requiredtimenotmet', 'customcert'], ['selectagroup', 'moodle'], - ['summaryofissue', 'customcert'], ['viewcustomcertissues', 'customcert'] ], ] diff --git a/lang/en/customcert.php b/lang/en/customcert.php index bb95aa8..6afcf03 100644 --- a/lang/en/customcert.php +++ b/lang/en/customcert.php @@ -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.'; diff --git a/templates/mobile_view_activity_page.mustache b/templates/mobile_view_activity_page.mustache index 678b07d..008dcfc 100644 --- a/templates/mobile_view_activity_page.mustache +++ b/templates/mobile_view_activity_page.mustache @@ -91,9 +91,6 @@ <%/showreport%> <%#hasissues%> - -

{{ 'plugin.mod_customcert.summaryofissue' | translate }}

-
<%#issues%> {{ <% timecreated %> | coreToLocaleString }} diff --git a/view.php b/view.php index 4a99839..2f0736f 100644 --- a/view.php +++ b/view.php @@ -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) . "
"; + $issuelist = html_writer::table($table) . "
"; } // Create the button to download the customcert.