MDL-65318 core_calendar: Additional fixes
[moodle.git] / calendar / templates / event_details.mustache
index 3b17a9e..86fcda4 100644 (file)
@@ -33,7 +33,7 @@
     Example context (json):
     {
         "formattedtime": "Wednesday, 17 April, 9:27 AM",
-        "calendareventtype": "Group",
+        "normalisedeventtype": "Group",
         "description": "An random event description",
         "location": "Moodle HQ",
         "isactionevent": "true",
@@ -61,7 +61,7 @@
 </div>
 <div class="row mt-1">
     <div class="col-xs-1">{{#pix}} i/calendar, core, {{#str}} eventtype, core_calendar {{/str}} {{/pix}}</div>
-    <div class="col-xs-11">{{calendareventtype}}</div>
+    <div class="col-xs-11">{{normalisedeventtypetext}}</div>
 </div>
 {{#description}}
     <div class="row mt-1">