Rewrite tooltips code without jQuery
This commit is contained in:
@@ -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 ?>
|
||||
|
||||
Reference in New Issue
Block a user