Skip to content

Commit 19e29dc

Browse files
authored
Merge pull request #21 from creecros/emphasize-group-name
Update details.php
2 parents aecc471 + 3f01623 commit 19e29dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Template/task/details.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<strong><?= t('Assigned Group:') ?></strong>
33
<span>
44
<?php if ($task['assigned_groupname']): ?>
5-
<?= $this->text->e($task['assigned_groupname'] ?: $task['owner_gp']) ?>
5+
<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>
66
<?php else: ?>
77
<?= t('not assigned') ?>
88
<?php endif ?>

0 commit comments

Comments
 (0)