use bootstrap tooltips instead of own solution (#741)

This commit is contained in:
Kevin Papst
2019-04-30 17:00:10 +02:00
committed by GitHub
parent 62b091c77b
commit b35022d161
8 changed files with 54 additions and 89 deletions

View File

@@ -83,7 +83,7 @@
{% macro label(title, type, tooltip) %}
{# success, warning, danger, primary #}
<span {% if tooltip %}data-tooltip="{{ tooltip }}" {% endif %}class="label label-{{ type|default('success') }}">{{ title|trans }}</span>
<span {% if tooltip %}data-toggle="tooltip" data-placement="top" title="{{ tooltip }}" {% endif %}class="label label-{{ type|default('success') }}">{{ title|trans }}</span>
{% endmacro %}
{% macro badge(title, color) %}