Show assignee on card only when someone is assigned
This commit is contained in:
parent
55afa4fd78
commit
040864863f
|
|
@ -18,6 +18,7 @@ Core functionalities moved to plugins:
|
|||
|
||||
Improvements:
|
||||
|
||||
* Show assignee on card only when someone is assigned (hide nobody text)
|
||||
* Highlight selected item in dropdown menus
|
||||
* Gantt chart: change bar color according to task progress
|
||||
* Replace color dropdown by color picker in task forms
|
||||
|
|
|
|||
|
|
@ -29,9 +29,10 @@
|
|||
</span>
|
||||
<?php endif ?>
|
||||
|
||||
<?php if (! empty($task['owner_id'])): ?>
|
||||
<span class="task-board-user <?= $this->user->isCurrentUser($task['owner_id']) ? 'task-board-current-user' : '' ?>">
|
||||
<?= $this->url->link(
|
||||
(! empty($task['owner_id']) ? ($task['assignee_name'] ?: $task['assignee_username']) : t('Nobody assigned')),
|
||||
$task['assignee_name'] ?: $task['assignee_username'],
|
||||
'board',
|
||||
'changeAssignee',
|
||||
array('task_id' => $task['id'], 'project_id' => $task['project_id']),
|
||||
|
|
@ -40,6 +41,7 @@
|
|||
t('Change assignee')
|
||||
) ?>
|
||||
</span>
|
||||
<?php endif ?>
|
||||
|
||||
<?php if ($task['is_active'] == 1): ?>
|
||||
<div class="task-board-days">
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -31,10 +31,15 @@ div.task-board-status-closed {
|
|||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.task-board-expanded {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.task-board-collapsed {
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
a.task-board-collapsed-title {
|
||||
|
|
@ -42,7 +47,6 @@ a.task-board-collapsed-title {
|
|||
}
|
||||
|
||||
.task-board .dropdown {
|
||||
float: left;
|
||||
margin-right: 5px;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue