summaryrefslogtreecommitdiff
path: root/templates/board_index.php
diff options
context:
space:
mode:
authorFrédéric Guillot <contact@fredericguillot.com>2014-02-23 21:20:25 -0500
committerFrédéric Guillot <contact@fredericguillot.com>2014-02-23 21:20:25 -0500
commit4b7a72e931a52753855c8993c65ec8a017555f72 (patch)
tree20dfc9e82dc3f2026bc14e9538a5df668ffec201 /templates/board_index.php
parent50051e776f9183471570f2688d0a85f92b309a3c (diff)
Add the possibility to change the assignee directly from the board
Diffstat (limited to 'templates/board_index.php')
-rw-r--r--templates/board_index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/board_index.php b/templates/board_index.php
index 274e8227..ff10a70b 100644
--- a/templates/board_index.php
+++ b/templates/board_index.php
@@ -46,9 +46,9 @@
<span class="task-user">
<?php if (! empty($task['owner_id'])): ?>
- <?= t('Assigned to %s', $task['username']) ?>
+ <a href="?controller=board&amp;action=assign&amp;task_id=<?= $task['id'] ?>" title="<?= t('Change assignee') ?>"><?= t('Assigned to %s', $task['username']) ?></a>
<?php else: ?>
- <span class="task-nobody"><?= t('No body assigned') ?></span>
+ <a href="?controller=board&amp;action=assign&amp;task_id=<?= $task['id'] ?>" title="<?= t('Change assignee') ?>" class="task-nobody"><?= t('No body assigned') ?></a>
<?php endif ?>
</span>