diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-05-17 22:25:18 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-05-17 22:25:18 -0400 |
commit | 46ed06268dc3d591fb7bb90a5a9a75e77c17b86c (patch) | |
tree | 4e4cc7d42bed1d5ca5e1c9d65415def3161cad2c /app/Template/subtask/table.php | |
parent | 996997a12d1b435956a96640eb6cf39045f6ef46 (diff) |
Rename subtask controller
Diffstat (limited to 'app/Template/subtask/table.php')
-rw-r--r-- | app/Template/subtask/table.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Template/subtask/table.php b/app/Template/subtask/table.php index 40510a2f..4c6484ef 100644 --- a/app/Template/subtask/table.php +++ b/app/Template/subtask/table.php @@ -1,7 +1,7 @@ <?php if (! empty($subtasks)): ?> <table class="subtasks-table table-stripped" - data-save-position-url="<?= $this->url->href('Subtask', 'movePosition', array('project_id' => $task['project_id'], 'task_id' => $task['id'])) ?>" + data-save-position-url="<?= $this->url->href('SubtaskController', 'movePosition', array('project_id' => $task['project_id'], 'task_id' => $task['id'])) ?>" > <thead> <tr> @@ -44,11 +44,11 @@ <li> <?php if ($subtask['is_timer_started']): ?> <i class="fa fa-pause"></i> - <?= $this->url->link(t('Stop timer'), 'SubtaskStatus', 'timer', array('timer' => 'stop', 'project_id' => $task['project_id'], 'task_id' => $subtask['task_id'], 'subtask_id' => $subtask['id']), false, 'subtask-toggle-timer') ?> + <?= $this->url->link(t('Stop timer'), 'SubtaskStatusController', 'timer', array('timer' => 'stop', 'project_id' => $task['project_id'], 'task_id' => $subtask['task_id'], 'subtask_id' => $subtask['id']), false, 'subtask-toggle-timer') ?> (<?= $this->dt->age($subtask['timer_start_date']) ?>) <?php else: ?> <i class="fa fa-play-circle-o"></i> - <?= $this->url->link(t('Start timer'), 'SubtaskStatus', 'timer', array('timer' => 'start', 'project_id' => $task['project_id'], 'task_id' => $subtask['task_id'], 'subtask_id' => $subtask['id']), false, 'subtask-toggle-timer') ?> + <?= $this->url->link(t('Start timer'), 'SubtaskStatusController', 'timer', array('timer' => 'start', 'project_id' => $task['project_id'], 'task_id' => $subtask['task_id'], 'subtask_id' => $subtask['id']), false, 'subtask-toggle-timer') ?> <?php endif ?> </li> <?php endif ?> |