From 5bde21e68323c48aae22dd43f0c8c71fd1cc9350 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 11 Aug 2017 20:08:52 +0200 Subject: [PATCH] Update calendar templates --- Theme/Backend/calendar-dashboard.tpl.php | 13 +++---- Theme/Backend/css/styles.css | 8 +++- Theme/Backend/css/styles.scss | 14 ++++++- Theme/Backend/dashboard-calendar.tpl.php | 49 ++++++++++++------------ 4 files changed, 48 insertions(+), 36 deletions(-) diff --git a/Theme/Backend/calendar-dashboard.tpl.php b/Theme/Backend/calendar-dashboard.tpl.php index 89b0983..2ce0e12 100644 --- a/Theme/Backend/calendar-dashboard.tpl.php +++ b/Theme/Backend/calendar-dashboard.tpl.php @@ -32,20 +32,19 @@ $calendar = $this->getData('calendar');
  • getHtml('Friday'); ?>
  • getHtml('Saturday'); ?> - getDate()->format('Y') . '-' . $calendar->getDate()->format('m') . '-' . '01'); + getDate()->getMonthCalendar(0); $isActiveMonth = false; for($i = 0; $i < 6; $i++) : ?> - getDate()->format('Y') . '-' . $calendar->getDate()->format('m') . '-' . '01'); - for($i = 0; $i < 6; $i++) : ?> - - + getDate()->getMonthCalendar(0); $isActiveMonth = false; + for($i = 0; $i < 6; $i++) : ?> + +