From f7771eae08e148fa68563eaf4ba600bb2b57fb77 Mon Sep 17 00:00:00 2001 From: Simey Lameze Date: Fri, 29 Sep 2017 13:06:00 +0800 Subject: [PATCH] MDL-59751 core_calendar: move new event button to header --- calendar/templates/header.mustache | 7 ++++--- calendar/templates/month_detailed.mustache | 1 - 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/calendar/templates/header.mustache b/calendar/templates/header.mustache index 626470dfd98..c50e643a1a4 100644 --- a/calendar/templates/header.mustache +++ b/calendar/templates/header.mustache @@ -31,8 +31,9 @@ { } }} -{{#filter_selector}}
- {{{filter_selector}}} + {{#filter_selector}} + {{{filter_selector}}} + {{/filter_selector}} + {{> core_calendar/add_event_button}}
-{{/filter_selector}} diff --git a/calendar/templates/month_detailed.mustache b/calendar/templates/month_detailed.mustache index 8d1e49552ed..7eecac2a56a 100644 --- a/calendar/templates/month_detailed.mustache +++ b/calendar/templates/month_detailed.mustache @@ -39,7 +39,6 @@ }} data-year="{{date.year}}"{{! }}> {{> core_calendar/header }} - {{> core_calendar/add_event_button}} {{> core_calendar/month_navigation }} {{> core/overlay_loading}}