summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-03-20 16:29:20 -0400
committerFrederic Guillot <fred@kanboard.net>2016-03-20 16:29:20 -0400
commit4c733eb715a0939b8a12f68ad97660ffc1933d16 (patch)
tree1d423e3c320faa45b52886ed95bcf62f8f905297 /app
parent77c84410ec7cbca50aecc04c3745b46122fbe59c (diff)
Addded new keyboard shortcut to edit the task description
Diffstat (limited to 'app')
-rw-r--r--app/Template/config/keyboard_shortcuts.php1
-rw-r--r--app/Template/task/layout.php1
2 files changed, 2 insertions, 0 deletions
diff --git a/app/Template/config/keyboard_shortcuts.php b/app/Template/config/keyboard_shortcuts.php
index 9725ecf9..da532661 100644
--- a/app/Template/config/keyboard_shortcuts.php
+++ b/app/Template/config/keyboard_shortcuts.php
@@ -19,6 +19,7 @@
<h3><?= t('Task view') ?></h3>
<ul>
<li><?= t('Edit task') ?> = <strong>e</strong></li>
+ <li><?= t('Edit description') ?> = <strong>d</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>
diff --git a/app/Template/task/layout.php b/app/Template/task/layout.php
index 48360664..ca27fd4f 100644
--- a/app/Template/task/layout.php
+++ b/app/Template/task/layout.php
@@ -23,6 +23,7 @@
<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-description-url="<?= $this->url->href('taskmodification', 'description', 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('TaskInternalLink', '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'])) ?>">