diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-05-24 16:02:25 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-05-24 16:02:25 -0400 |
commit | eeac2329baab1fdae7cbf6c707ed2ffd8beb4c1b (patch) | |
tree | 511c2fe47f8fbb1ea90e59e7a7a7f5e3530aa9ed /app/Template/calendar/show.php | |
parent | 65e9e5d1bed9f88ecfd43eb2c1e780a7c22c151f (diff) |
Helpers refactoring
Diffstat (limited to 'app/Template/calendar/show.php')
-rw-r--r-- | app/Template/calendar/show.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/app/Template/calendar/show.php b/app/Template/calendar/show.php index 9e96d29e..3fe97b65 100644 --- a/app/Template/calendar/show.php +++ b/app/Template/calendar/show.php @@ -3,19 +3,19 @@ <ul> <li> <i class="fa fa-table fa-fw"></i> - <?= $this->a(t('Back to the board'), 'board', 'show', array('project_id' => $project['id'])) ?> + <?= $this->url->link(t('Back to the board'), 'board', 'show', array('project_id' => $project['id'])) ?> </li> <li> <i class="fa fa-search fa-fw"></i> - <?= $this->a(t('Search'), 'project', 'search', array('project_id' => $project['id'])) ?> + <?= $this->url->link(t('Search'), 'project', 'search', array('project_id' => $project['id'])) ?> </li> <li> <i class="fa fa-check-square-o fa-fw"></i> - <?= $this->a(t('Completed tasks'), 'project', 'tasks', array('project_id' => $project['id'])) ?> + <?= $this->url->link(t('Completed tasks'), 'project', 'tasks', array('project_id' => $project['id'])) ?> </li> <li> <i class="fa fa-dashboard fa-fw"></i> - <?= $this->a(t('Activity'), 'project', 'activity', array('project_id' => $project['id'])) ?> + <?= $this->url->link(t('Activity'), 'project', 'activity', array('project_id' => $project['id'])) ?> </li> </ul> </div> @@ -34,8 +34,8 @@ <div class="sidebar-content"> <div id="calendar" data-project-id="<?= $project['id'] ?>" - data-save-url="<?= $this->u('calendar', 'save') ?>" - data-check-url="<?= $this->u('calendar', 'project', array('project_id' => $project['id'])) ?>" + data-save-url="<?= $this->url->href('calendar', 'save') ?>" + data-check-url="<?= $this->url->href('calendar', 'project', array('project_id' => $project['id'])) ?>" data-check-interval="<?= $check_interval ?>" > </div> |