Add default color
This commit is contained in:
@ -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 }}"
|
||||||
|
Reference in New Issue
Block a user