From cbac410efa968f501e65e6e25fc293bcc511301c Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sun, 28 Dec 2014 17:07:03 -0500 Subject: Underline the current assignee instead of a star icon --- app/Template/board/task.php | 7 ++----- assets/css/app.css | 9 +++++++++ assets/css/task.css | 9 +++++++++ 3 files changed, 20 insertions(+), 5 deletions(-) diff --git a/app/Template/board/task.php b/app/Template/board/task.php index f9f03dc3..dca9a13a 100644 --- a/app/Template/board/task.php +++ b/app/Template/board/task.php @@ -48,12 +48,9 @@ -  -  - - + a( - (! empty($task['owner_id']) ? t('Assigned to %s', $task['assignee_name'] ?: $task['assignee_username']) : t('Nobody assigned')) . - ( $this->acl->isCurrentUser($task['owner_id']) ? ' ' : ''), + (! empty($task['owner_id']) ? t('Assigned to %s', $task['assignee_name'] ?: $task['assignee_username']) : t('Nobody assigned')), 'board', 'changeAssignee', array('task_id' => $task['id']), diff --git a/assets/css/app.css b/assets/css/app.css index 25eeb405..970030e4 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -812,6 +812,15 @@ div.task-board-recent { font-size: 80%; } +.task-board-current-user a { + text-decoration: underline; +} + +.task-board-current-user a:focus, +.task-board-current-user a:hover { + text-decoration: none; +} + a.task-board-nobody { font-weight: normal; font-style: italic; diff --git a/assets/css/task.css b/assets/css/task.css index a7a3ee52..9d885205 100644 --- a/assets/css/task.css +++ b/assets/css/task.css @@ -40,6 +40,15 @@ div.task-board-recent { font-size: 80%; } +.task-board-current-user a { + text-decoration: underline; +} + +.task-board-current-user a:focus, +.task-board-current-user a:hover { + text-decoration: none; +} + a.task-board-nobody { font-weight: normal; font-style: italic; -- cgit v1.2.3