diff options
Diffstat (limited to 'app/Template/task/layout.php')
-rw-r--r-- | app/Template/task/layout.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/Template/task/layout.php b/app/Template/task/layout.php index 9cbbfec9..b588384c 100644 --- a/app/Template/task/layout.php +++ b/app/Template/task/layout.php @@ -20,7 +20,12 @@ <?php endif ?> </ul> </div> - <section class="sidebar-container"> + <section + class="sidebar-container" id="task-view" + data-edit-url="<?= $this->url->href('taskmodification', 'edit', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>" + data-subtask-url="<?= $this->url->href('subtask', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>" + data-internal-link-url="<?= $this->url->href('tasklink', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>" + data-comment-url="<?= $this->url->href('comment', 'create', array('task_id' => $task['id'], 'project_id' => $task['project_id'])) ?>"> <?= $this->render($sidebar_template, array('task' => $task)) ?> |