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