diff options
| author | rubenwardy <rw@rubenwardy.com> | 2020-07-18 02:54:40 +0100 |
|---|---|---|
| committer | rubenwardy <rw@rubenwardy.com> | 2020-07-18 02:54:40 +0100 |
| commit | dd7146205acda0b87f773b110d171c6a345c987d (patch) | |
| tree | 580344f75f4b506bb303fb5e77e289bc0c41c6b3 /app/templates/packages/list.html | |
| parent | 68a132f271b04eb7c1812609c6be4f78960fad22 (diff) | |
| download | cheatdb-dd7146205acda0b87f773b110d171c6a345c987d.tar.xz | |
Add description title tooltips to tags
Diffstat (limited to 'app/templates/packages/list.html')
| -rw-r--r-- | app/templates/packages/list.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/templates/packages/list.html b/app/templates/packages/list.html index 49fcdd1..8becd70 100644 --- a/app/templates/packages/list.html +++ b/app/templates/packages/list.html @@ -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> |
