Add description title tooltips to tags
This commit is contained in:
@@ -28,12 +28,14 @@
|
||||
|
||||
{% if tag in selected_tags %}
|
||||
<a class="btn btn-sm btn-primary m-1" rel="nofollow"
|
||||
title="{{ tag.description or '' }}"
|
||||
href="{{ url_set_query(page=1, _remove={ 'tag': tag.name }) }}">
|
||||
{{ tag.title }}
|
||||
<span class="badge badge-pill badge-light ml-1">{{ count }}</span>
|
||||
</a>
|
||||
{% else %}
|
||||
<a class="btn btn-sm btn-secondary m-1" rel="nofollow"
|
||||
title="{{ tag.description or '' }}"
|
||||
href="{{ url_set_query(page=1, _add={ 'tag': tag.name }) }}">
|
||||
{{ tag.title }}
|
||||
<span class="badge badge-pill badge-light ml-1">{{ count }}</span>
|
||||
|
||||
Reference in New Issue
Block a user