Use badges syntax for labels outside of cardv2 #1921

Merged
jonah merged 13 commits from better-badges into master 2020-05-16 09:03:22 +00:00
12 changed files with 56 additions and 67 deletions
Showing only changes of commit 602ea00057 - Show all commits

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 }}"