diff options
author | Frédéric Guillot <fred@kanboard.net> | 2018-04-20 15:18:30 -0700 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2018-04-20 15:18:30 -0700 |
commit | 5996a8abcf12336586cee345180203dd1500c92f (patch) | |
tree | 83b5c32b6ab8610d6607b9b5486d55a40225c505 /app/Template/project_list | |
parent | 927607b5ff106224e49b63adc58454ffef2e2504 (diff) |
Rewrite tooltips code without jQuery
Diffstat (limited to 'app/Template/project_list')
-rw-r--r-- | app/Template/project_list/project_icons.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/app/Template/project_list/project_icons.php b/app/Template/project_list/project_icons.php index 348db367..b359bcfe 100644 --- a/app/Template/project_list/project_icons.php +++ b/app/Template/project_list/project_icons.php @@ -10,13 +10,11 @@ <?php endif ?> <?php if ($this->user->hasAccess('ProjectUserOverviewController', 'managers')): ?> - <span class="tooltip" title="<?= t('Members') ?>" data-href="<?= $this->url->href('ProjectUserOverviewController', 'users', array('project_id' => $project['id'])) ?>"><i class="fa fa-users"></i></span> + <?= $this->app->tooltipLink('<i class="fa fa-users"></i>', $this->url->href('ProjectUserOverviewController', 'users', array('project_id' => $project['id']))) ?> <?php endif ?> <?php if (! empty($project['description'])): ?> - <span class="tooltip" title="<?= $this->text->markdownAttribute($project['description']) ?>"> - <i class="fa fa-info-circle"></i> - </span> + <?= $this->app->tooltipMarkdown($project['description']) ?> <?php endif ?> <?php if ($project['is_active'] == 0): ?> |