Add default color

This commit is contained in:
Jonah Aragon 2020-05-13 10:02:55 -05:00
parent 8e1cfcf3bd
commit 602ea00057
No known key found for this signature in database
GPG Key ID: 6A957C9A9A9429F7

View File

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