MDL-59674 core_calendar: add group name to summary template
[moodle.git] / calendar / templates / event_summary_body.mustache
index e5301bd..376d2f1 100644 (file)
@@ -23,7 +23,9 @@
     {
         "timestart": 1490320388,
         "description": "An random event description",
-        "eventtype": "open"
+        "eventtype": "User",
+        "source": "Ical imported",
+        "groupname": "Group 1"
     }
 }}
 <div data-region="summary-modal-container" data-event-id="{{id}}" data-event-title="{{name}}"
@@ -40,4 +42,7 @@
     {{#source}}
         <div>{{{source}}}</div>
     {{/source}}
+    {{#groupname}}
+        <div>{{{groupname}}}</div>
+    {{/groupname}}
 </div>