diff options
Diffstat (limited to 'plugins/Group_assign/Template/task/details.php')
-rw-r--r-- | plugins/Group_assign/Template/task/details.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/Group_assign/Template/task/details.php b/plugins/Group_assign/Template/task/details.php new file mode 100644 index 00000000..907739bc --- /dev/null +++ b/plugins/Group_assign/Template/task/details.php @@ -0,0 +1,10 @@ + <li> + <strong><?= t('Assigned Group:') ?></strong> + <span> + <?php if ($task['assigned_groupname']): ?> + <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 ?> + </span> + </li> |