Add the possibility to change the assignee directly from the board

This commit is contained in:
Frédéric Guillot
2014-02-23 21:20:25 -05:00
parent 50051e776f
commit 4b7a72e931
6 changed files with 101 additions and 10 deletions

View File

@@ -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>