summaryrefslogtreecommitdiff
path: root/app/Template
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template')
-rw-r--r--app/Template/config/about.php7
-rw-r--r--app/Template/task/layout.php7
2 files changed, 13 insertions, 1 deletions
diff --git a/app/Template/config/about.php b/app/Template/config/about.php
index 968b109a..c7600d20 100644
--- a/app/Template/config/about.php
+++ b/app/Template/config/about.php
@@ -66,6 +66,13 @@
<li><?= t('Expand/collapse tasks') ?> = <strong>s</strong></li>
<li><?= t('Compact/wide view') ?> = <strong>c</strong></li>
</ul>
+ <h3><?= t('Task view') ?></h3>
+ <ul>
+ <li><?= t('Edit task') ?> = <strong>e</strong></li>
+ <li><?= t('New subtask') ?> = <strong>s</strong></li>
+ <li><?= t('New comment') ?> = <strong>c</strong></li>
+ <li><?= t('New internal link') ?> = <strong>l</strong></li>
+ </ul>
<h3><?= t('Application') ?></h3>
<ul>
<li><?= t('Open board switcher') ?> = <strong>b</strong></li>
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)) ?>