summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template')
-rw-r--r--app/Template/app/dashboard.php1
-rw-r--r--app/Template/calendar/show.php2
-rw-r--r--app/Template/user/calendar.php1
3 files changed, 3 insertions, 1 deletions
diff --git a/app/Template/app/dashboard.php b/app/Template/app/dashboard.php
index 80f32fee..51498c41 100644
--- a/app/Template/app/dashboard.php
+++ b/app/Template/app/dashboard.php
@@ -47,6 +47,7 @@
<div id="user-calendar"
data-check-url="<?= $this->u('calendar', 'user') ?>"
data-user-id="<?= $user_id ?>"
+ data-save-url="<?= $this->u('calendar', 'save') ?>"
>
</div>
</div>
diff --git a/app/Template/calendar/show.php b/app/Template/calendar/show.php
index cb5a1109..9e96d29e 100644
--- a/app/Template/calendar/show.php
+++ b/app/Template/calendar/show.php
@@ -34,7 +34,7 @@
<div class="sidebar-content">
<div id="calendar"
data-project-id="<?= $project['id'] ?>"
- data-save-url="<?= $this->u('calendar', 'save', array('project_id' => $project['id'])) ?>"
+ data-save-url="<?= $this->u('calendar', 'save') ?>"
data-check-url="<?= $this->u('calendar', 'project', array('project_id' => $project['id'])) ?>"
data-check-interval="<?= $check_interval ?>"
>
diff --git a/app/Template/user/calendar.php b/app/Template/user/calendar.php
index ab7d05a2..6708c5c3 100644
--- a/app/Template/user/calendar.php
+++ b/app/Template/user/calendar.php
@@ -1,5 +1,6 @@
<div id="user-calendar"
data-check-url="<?= $this->u('calendar', 'user') ?>"
data-user-id="<?= $user['id'] ?>"
+ data-save-url="<?= $this->u('calendar', 'save') ?>"
>
</div> \ No newline at end of file