mirror of
https://github.com/privacyguides/privacyguides.org
synced 2024-12-12 21:03:32 +01:00
21 lines
823 B
HTML
21 lines
823 B
HTML
{% if include.link %}
|
|
<a
|
|
href="{{ include.link }}" class="badge badge-{{ include.color | default: "info" }}"
|
|
{% if include.tooltip %}
|
|
data-toggle="tooltip"
|
|
data-original-title="{{ include.tooltip }}"><i class="{{ include.icon | default: "far fa-question-circle"}}"></i> {{ include.text }}
|
|
{% else %}><i class="{{ include.icon | default: "fas fa-external-link-alt"}}"></i> {{ include.text }}{% endif %}
|
|
</a>
|
|
{% else %}
|
|
<span
|
|
class="badge badge-{{ include.color | default: "info" }}"
|
|
{% if include.tooltip %}
|
|
data-toggle="tooltip"
|
|
data-original-title="{{ include.tooltip }}"
|
|
> <i class="{{ include.icon | default: "far fa-question-circle"}}"></i> {{include.text}}
|
|
{% else %}
|
|
> {% if include.icon %}<i class="{{ include.icon }}"></i>{% endif %} {{include.text}}
|
|
{% endif %}
|
|
</span>
|
|
{% endif %}
|