Skip to content

Commit

Permalink
Merge pull request #21 from creecros/emphasize-group-name
Browse files Browse the repository at this point in the history
Update details.php
  • Loading branch information
creecros authored Dec 13, 2018
2 parents aecc471 + 3f01623 commit 19e29dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Template/task/details.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<strong><?= t('Assigned Group:') ?></strong>
<span>
<?php if ($task['assigned_groupname']): ?>
<?= $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>
<?php else: ?>
<?= t('not assigned') ?>
<?php endif ?>
Expand Down

0 comments on commit 19e29dc

Please sign in to comment.