diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-03-11 22:46:54 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-03-11 22:46:54 -0500 |
commit | 4f54a547fad80200ab2f2804be631ecde11ec3b5 (patch) | |
tree | 1dfc577612329c0ac6dab862cf718d9633759f0d /app/Template/task | |
parent | b95375c324c1ccfeebc7ec53a12e498d69ddd685 (diff) |
Added new keyboard shortcut for task view
Diffstat (limited to 'app/Template/task')
-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)) ?> |