Underline the current assignee instead of a star icon
This commit is contained in:
@@ -48,12 +48,9 @@
|
|||||||
</span>
|
</span>
|
||||||
<?php endif ?>
|
<?php endif ?>
|
||||||
|
|
||||||
-
|
<span class="task-board-user <?= $this->acl->isCurrentUser($task['owner_id']) ? 'task-board-current-user' : '' ?>">
|
||||||
|
|
||||||
<span class="task-board-user">
|
|
||||||
<?= $this->a(
|
<?= $this->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')),
|
||||||
( $this->acl->isCurrentUser($task['owner_id']) ? ' <i class="fa fa-star"></i>' : ''),
|
|
||||||
'board',
|
'board',
|
||||||
'changeAssignee',
|
'changeAssignee',
|
||||||
array('task_id' => $task['id']),
|
array('task_id' => $task['id']),
|
||||||
|
|||||||
@@ -812,6 +812,15 @@ div.task-board-recent {
|
|||||||
font-size: 80%;
|
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 {
|
a.task-board-nobody {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
|
|||||||
@@ -40,6 +40,15 @@ div.task-board-recent {
|
|||||||
font-size: 80%;
|
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 {
|
a.task-board-nobody {
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
|
|||||||
Reference in New Issue
Block a user