diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-12-14 18:28:15 -0500 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-12-14 18:28:15 -0500 |
commit | 4e695a9fcf65c0a9bc7db0f6dfd850f46b695d84 (patch) | |
tree | f2e1c9cbb5d952944f04ef2430d89f6ae28d5ef1 | |
parent | 5a28e9095dc87e80a6eedda500d847859f79e528 (diff) |
Show a start next to the assignee (current user), pull-request #373
-rw-r--r-- | app/Template/board/task.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/Template/board/task.php b/app/Template/board/task.php index 22cf935b..64448acc 100644 --- a/app/Template/board/task.php +++ b/app/Template/board/task.php @@ -40,7 +40,8 @@ <span class="task-board-user"> <?= Helper\a( - ! empty($task['owner_id']) ? t('Assigned to %s', $task['assignee_name'] ?: $task['assignee_username']) : t('Nobody assigned'), + (! empty($task['owner_id']) ? t('Assigned to %s', $task['assignee_name'] ?: $task['assignee_username']) : t('Nobody assigned')) . + ( Helper\is_current_user($task['owner_id']) ? ' <i class="fa fa-star"></i>' : ''), 'board', 'changeAssignee', array('task_id' => $task['id']), |