From 1106040a4d5c44e2049f1ab9db37cb7fe061f68f Mon Sep 17 00:00:00 2001 From: Simey Lameze Date: Fri, 4 Aug 2017 14:54:41 +0800 Subject: [PATCH] MDL-59671 core_calendar: add visibility logic to template --- calendar/templates/event_summary_modal.mustache | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/calendar/templates/event_summary_modal.mustache b/calendar/templates/event_summary_modal.mustache index 2ae8dd213bd..845331a36d3 100644 --- a/calendar/templates/event_summary_modal.mustache +++ b/calendar/templates/event_summary_modal.mustache @@ -26,7 +26,11 @@ }} {{< core/modal }} {{$footer}} - - +{{#canedit}} + {{#candelete}} + + {{/candelete}} + +{{/canedit}} {{/footer}} {{/ core/modal }}