diff options
Diffstat (limited to 'app/Templates/board_task.php')
-rw-r--r-- | app/Templates/board_task.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Templates/board_task.php b/app/Templates/board_task.php index 61f7f5bf..0bc96579 100644 --- a/app/Templates/board_task.php +++ b/app/Templates/board_task.php @@ -4,7 +4,7 @@ <span class="task-board-user"> <?php if (! empty($task['owner_id'])): ?> - <?= t('Assigned to %s', $task['username']) ?> + <?= t('Assigned to %s', $task['assignee_name'] ?: $task['assignee_username']) ?> <?php else: ?> <span class="task-board-nobody"><?= t('Nobody assigned') ?></span> <?php endif ?> @@ -24,7 +24,7 @@ <span class="task-board-user"> <?php if (! empty($task['owner_id'])): ?> - <a class="assignee-popover" href="?controller=board&action=assign&task_id=<?= $task['id'] ?>" title="<?= t('Change assignee') ?>"><?= t('Assigned to %s', $task['username']) ?></a> + <a class="assignee-popover" href="?controller=board&action=assign&task_id=<?= $task['id'] ?>" title="<?= t('Change assignee') ?>"><?= t('Assigned to %s', $task['assignee_name'] ?: $task['assignee_username']) ?></a> <?php else: ?> <a class="assignee-popover" href="?controller=board&action=assign&task_id=<?= $task['id'] ?>" title="<?= t('Change assignee') ?>" class="task-board-nobody"><?= t('Nobody assigned') ?></a> <?php endif ?> |