Update label syntax #1914

Merged
jonah merged 10 commits from better-badges into master 2020-05-14 13:18:37 +00:00
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 }}"