summaryrefslogtreecommitdiff
path: root/app/Template/board
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/board')
-rw-r--r--app/Template/board/assignee.php2
-rw-r--r--app/Template/board/tasklinks.php3
2 files changed, 4 insertions, 1 deletions
diff --git a/app/Template/board/assignee.php b/app/Template/board/assignee.php
index c513f572..453b3f2d 100644
--- a/app/Template/board/assignee.php
+++ b/app/Template/board/assignee.php
@@ -9,7 +9,7 @@
<?= $this->formHidden('project_id', $values) ?>
<?= $this->formLabel(t('Assignee'), 'owner_id') ?>
- <?= $this->formSelect('owner_id', $users_list, $values) ?><br/>
+ <?= $this->formSelect('owner_id', $users_list, $values, array(), array('autofocus')) ?><br/>
<div class="form-actions">
<input type="submit" value="<?= t('Save') ?>" class="btn btn-blue"/>
diff --git a/app/Template/board/tasklinks.php b/app/Template/board/tasklinks.php
index 9c4f52ca..f934cff9 100644
--- a/app/Template/board/tasklinks.php
+++ b/app/Template/board/tasklinks.php
@@ -9,6 +9,9 @@
false,
$link['is_active'] ? '' : 'task-link-closed'
) ?>
+ <?php if (! empty($link['task_assignee_username'])): ?>
+ [<?= $this->e($link['task_assignee_name'] ?: $link['task_assignee_username']) ?>]
+ <?php endif ?>
</li>
<?php endforeach ?>
</ul>