]> git.agnieray.net Git - galette.git/blobdiff - galette/templates/default/macros.twig
Remove useless tooltips from dashboard
[galette.git] / galette / templates / default / macros.twig
index 8f92ad5b5638a4a936f12c6bf4d68219d39e6024..082de1f462b4ff02f1cd3ba6adc585e02ff940e8 100644 (file)
@@ -53,7 +53,7 @@
 {% endmacro %}
 
 {% macro dashboardCard(label, title, route, icon) %}
-    <a class="ui card" href="{{ url_for(route.name, route.args|default([])) }}" title="{{ title }}">
+    <a class="ui card" href="{{ url_for(route.name, route.args|default([])) }}"{% if title %} title="{{ title }}"{% endif %}>
         <div class="content">
             <div class="ui header">
                 <em data-emoji="{{ icon }}" class="medium" aria-hidden="true"></em>