summaryrefslogtreecommitdiff
path: root/app/Template/calendar/show.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/calendar/show.php
parent5188ed8cfe347ee2d4521aca242d250ebcbae6bd (diff)
Replace calendar component by vanilla javascript
Diffstat (limited to 'app/Template/calendar/show.php')
-rw-r--r--app/Template/calendar/show.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/app/Template/calendar/show.php b/app/Template/calendar/show.php
index 739d1eea..009fc07e 100644
--- a/app/Template/calendar/show.php
+++ b/app/Template/calendar/show.php
@@ -1,6 +1,9 @@
<section id="main">
<?= $this->projectHeader->render($project, 'CalendarController', 'show') ?>
- <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>
+
+ <?= $this->calendar->render(
+ $this->url->href('CalendarController', 'project', array('project_id' => $project['id'])),
+ $this->url->href('CalendarController', 'save', array('project_id' => $project['id']))
+ ) ?>
+
</section>