diff --git a/templates/mobile_report_page.mustache b/templates/mobile_report_page.mustache
index 7f3ca66..168367f 100644
--- a/templates/mobile_report_page.mustache
+++ b/templates/mobile_report_page.mustache
@@ -24,6 +24,48 @@
Data attibutes required for JS:
* All data attributes are required
+
+ Context variables required for this template:
+ * certificate
+ * cmid
+ * showgroups
+ * groups
+ * canmanage
+ * hasissues
+ * issues
+ * currenttimestamp
+
+ Example context (json):
+ {
+ "certificate": {
+ "id": "1",
+ "course": "2",
+ "name": "A rad certificate name!",
+ "intro": "A certificate"
+ },
+ "cmid": "25",
+ "showgroups": "true",
+ "groups": [
+ {
+ "id": "2",
+ "selected": "false",
+ "name": "Group A"
+ }
+ ],
+ "canmanage": "true",
+ "hasissues": "true",
+ "issues": [
+ {
+ "id": "2",
+ "issueid": "3",
+ "displayname": "Michaelangelo (Mickey)",
+ "fileurl": "http://yoursite.com/mod/customcert/mobile/pluginfile.php?id=4",
+ "code": "Xyt78axR",
+ "timecreated": "1528370177"
+ }
+ ],
+ "currenttimestamp": "1528370177"
+ }
}}
{{=<% %>=}}
diff --git a/templates/mobile_view_activity_page.mustache b/templates/mobile_view_activity_page.mustache
index bbc39eb..678b07d 100644
--- a/templates/mobile_view_activity_page.mustache
+++ b/templates/mobile_view_activity_page.mustache
@@ -24,6 +24,52 @@
Data attibutes required for JS:
* All data attributes are required
+
+ Context variables required for this template:
+ * certificate
+ * cmid
+ * groupselected
+ * showgroups
+ * groups
+ * hasissues
+ * issues
+ * candownload
+ * fileurl
+ * showreport
+ * numissuesinreport
+ * currenttimestamp
+
+ Example context (json):
+ {
+ "certificate": {
+ "id": "1",
+ "course": "2",
+ "name": "A rad certificate name!",
+ "intro": "A certificate",
+ "requiredtime": "60"
+ },
+ "cmid": "25",
+ "groupselected": "5",
+ "showgroups": "true",
+ "groups": [
+ {
+ "id": "2",
+ "selected": "false",
+ "name": "Group A"
+ }
+ ],
+ "hasissues": "true",
+ "issues": [
+ {
+ "timecreated": "1528370177"
+ }
+ ],
+ "candownload": "true",
+ "fileurl": "http://yoursite.com/mod/customcert/mobile/pluginfile.php?id=4",
+ "showreport": "true",
+ "numissuesinreport": "5",
+ "currenttimestamp": "1528370177"
+ }
}}
{{=<% %>=}}