diff --git a/db/mobile.php b/db/mobile.php index 53db001..9e1d368 100644 --- a/db/mobile.php +++ b/db/mobile.php @@ -37,10 +37,7 @@ $addons = array( ] ], 'lang' => [ // Language strings that are used in all the handlers. - ['code', 'customcert'], ['deleteissueconfirm', 'customcert'], - ['file', 'moodle'], - ['fullname', 'moodle'], ['getcustomcert', 'customcert'], ['modulenameplural', 'customcert'], ['nothingtodisplay', 'moodle'], diff --git a/templates/mobile_report_page.mustache b/templates/mobile_report_page.mustache index 168367f..b00a1a2 100644 --- a/templates/mobile_report_page.mustache +++ b/templates/mobile_report_page.mustache @@ -84,56 +84,35 @@

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

<%#hasissues%> - - - - - {{ 'plugin.mod_customcert.fullname' | translate }} - - - {{ 'plugin.mod_customcert.receiveddate' | translate }} - - - {{ 'plugin.mod_customcert.code' | translate }} - - - {{ 'plugin.mod_customcert.file' | translate }} - - <%#canmanage%> - - <%/canmanage%> - - <%#issues%> - - - <% displayname %> - - - {{ <% timecreated %> | coreToLocaleString }} - - - <% code %> - - - - - <%#canmanage%> - - + + <%#issues%> + + + + + <% displayname %> +
+ {{ <% timecreated %> | coreToLocaleString }}
- <%/canmanage%> -
- <%/issues%> -
-
+ + + <%#canmanage%> + + <%/canmanage%> + +
+
+
+ <%/issues%> + <%/hasissues%> <%^hasissues%>