MDL-60558 block_calendar_upcoming: Render the template when no events
[moodle.git] / calendar / templates / upcoming_mini.mustache
index 1be33f7..082d5bc 100644 (file)
@@ -55,6 +55,9 @@
             <hr>
         </div>
     {{/events}}
+    {{^events}}
+        {{#str}}noupcomingevents, calendar{{/str}}
+    {{/events}}
 </div>
 {{#js}}
 require([