Add default color

This commit is contained in:
2020-05-13 10:02:55 -05:00
parent 8e1cfcf3bd
commit 602ea00057

View File

@ -60,7 +60,7 @@
{% endfor %} {% endfor %}
{% if link %} {% if link %}
<a <a
href="{{ link }}" class="badge badge-{{ color }}" href="{{ link }}" class="badge badge-{{ color | default: "info" }}"
{% if tooltip %} {% if tooltip %}
data-toggle="tooltip" data-toggle="tooltip"
title="{{ tooltip }}"><i class="{{ icon | default: "far fa-question-circle"}}"></i> {{ text }} title="{{ tooltip }}"><i class="{{ icon | default: "far fa-question-circle"}}"></i> {{ text }}
@ -68,7 +68,7 @@
</a> </a>
{% else %} {% else %}
<span <span
class="badge badge-{{ color }}" class="badge badge-{{ color | default: "info" }}"
{% if tooltip %} {% if tooltip %}
data-toggle="tooltip" data-toggle="tooltip"
title="{{ tooltip }}" title="{{ tooltip }}"