summaryrefslogtreecommitdiff
path: root/app/Template/board/task.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-12-14 18:28:15 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-12-14 18:28:15 -0500
commit4e695a9fcf65c0a9bc7db0f6dfd850f46b695d84 (patch)
treef2e1c9cbb5d952944f04ef2430d89f6ae28d5ef1 /app/Template/board/task.php
parent5a28e9095dc87e80a6eedda500d847859f79e528 (diff)
Show a start next to the assignee (current user), pull-request #373
Diffstat (limited to 'app/Template/board/task.php')
-rw-r--r--app/Template/board/task.php3
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']) ? '&nbsp;<i class="fa fa-star"></i>' : ''),
'board',
'changeAssignee',
array('task_id' => $task['id']),