summaryrefslogtreecommitdiff
path: root/app/Template/calendar/show.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-11-15 21:24:25 -0500
committerFrederic Guillot <fred@kanboard.net>2016-11-15 21:24:25 -0500
commite2a867166b301fecf32421bfdff8bd8bcf767e89 (patch)
tree215fcb6d3eaf8b10263cd84de5c3f7096d72ba39 /app/Template/calendar/show.php
parent94cd5869bf9e4b86063cbb71777a05525b9d5c52 (diff)
Convert calendar to VueJS component
Update to FullCalendar 3.1.0 as well.
Diffstat (limited to 'app/Template/calendar/show.php')
-rw-r--r--app/Template/calendar/show.php9
1 files changed, 3 insertions, 6 deletions
diff --git a/app/Template/calendar/show.php b/app/Template/calendar/show.php
index 3635f627..739d1eea 100644
--- a/app/Template/calendar/show.php
+++ b/app/Template/calendar/show.php
@@ -1,9 +1,6 @@
<section id="main">
<?= $this->projectHeader->render($project, 'CalendarController', 'show') ?>
- <div id="calendar"
- data-save-url="<?= $this->url->href('CalendarController', 'save', array('project_id' => $project['id'])) ?>"
- data-check-url="<?= $this->url->href('CalendarController', 'project', array('project_id' => $project['id'])) ?>"
- data-check-interval="<?= $check_interval ?>"
- >
- </div>
+ <calendar save-url="<?= $this->url->href('CalendarController', 'save', array('project_id' => $project['id'])) ?>"
+ check-url="<?= $this->url->href('CalendarController', 'project', array('project_id' => $project['id'])) ?>">
+ </calendar>
</section>