summaryrefslogtreecommitdiff
path: root/app/Template/dashboard/calendar.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-11-21 22:08:35 -0500
committerFrederic Guillot <fred@kanboard.net>2016-11-21 22:08:35 -0500
commita3bb27109dc01fa5df2c771b84620f1e8f56b849 (patch)
tree57b593c0c3dbad65c4f9c345fc58975c267ad0c8 /app/Template/dashboard/calendar.php
parent5188ed8cfe347ee2d4521aca242d250ebcbae6bd (diff)
Replace calendar component by vanilla javascript
Diffstat (limited to 'app/Template/dashboard/calendar.php')
-rw-r--r--app/Template/dashboard/calendar.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/Template/dashboard/calendar.php b/app/Template/dashboard/calendar.php
index 6f156db7..0b768b31 100644
--- a/app/Template/dashboard/calendar.php
+++ b/app/Template/dashboard/calendar.php
@@ -1,2 +1,4 @@
-<calendar check-url="<?= $this->url->href('CalendarController', 'user', array('user_id' => $user['id'])) ?>"
- save-url="<?= $this->url->href('CalendarController', 'save') ?>"></calendar>
+<?= $this->calendar->render(
+ $this->url->href('CalendarController', 'user', array('user_id' => $user['id'])),
+ $this->url->href('CalendarController', 'save')
+) ?>