We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents aecc471 + 3f01623 commit 19e29dcCopy full SHA for 19e29dc
Template/task/details.php
@@ -2,7 +2,7 @@
2
<strong><?= t('Assigned Group:') ?></strong>
3
<span>
4
<?php if ($task['assigned_groupname']): ?>
5
- <?= $this->text->e($task['assigned_groupname'] ?: $task['owner_gp']) ?>
+ <span class="assigned-group" style="background-color: #<?= $this->task->groupColorExtension->getGroupColor($task['assigned_groupname']) ?>" color:"<?= $this->task->groupColorExtension->getFontColor($this->task->groupColorExtension->getGroupColor($task['assigned_groupname'])) ?>"><?= $this->text->e($task['assigned_groupname'] ?: $task['owner_gp']) ?></span>
6
<?php else: ?>
7
<?= t('not assigned') ?>
8
<?php endif ?>
0 commit comments