summaryrefslogtreecommitdiff
path: root/app/Template/task_list/task_details.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Template/task_list/task_details.php')
-rw-r--r--app/Template/task_list/task_details.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/Template/task_list/task_details.php b/app/Template/task_list/task_details.php
index eeb5747d..b68be2dc 100644
--- a/app/Template/task_list/task_details.php
+++ b/app/Template/task_list/task_details.php
@@ -13,8 +13,11 @@
array('task_id' => $task['id'], 'project_id' => $task['project_id']),
false,
'js-modal-medium' . (! empty($task['category_description']) ? ' tooltip' : ''),
- ! empty($task['category_description']) ? $this->text->markdownAttribute($task['category_description']) : t('Change category')
+ t('Change category')
) ?>
+ <?php if (! empty($task['category_description'])): ?>
+ <?= $this->app->tooltipMarkdown($task['category_description']) ?>
+ <?php endif ?>
<?php else: ?>
<?= $this->text->e($task['category_name']) ?>
<?php endif ?>