From dd7146205acda0b87f773b110d171c6a345c987d Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sat, 18 Jul 2020 02:54:40 +0100 Subject: [PATCH] Add description title tooltips to tags --- app/templates/index.html | 1 + app/templates/packages/list.html | 2 ++ app/templates/packages/view.html | 5 ++++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/app/templates/index.html b/app/templates/index.html index 6fb833e7..b107e8b4 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -64,6 +64,7 @@ {% set tag = pair[1] %} {{ tag.title }} {{ count }} diff --git a/app/templates/packages/list.html b/app/templates/packages/list.html index 49fcdd15..8becd70a 100644 --- a/app/templates/packages/list.html +++ b/app/templates/packages/list.html @@ -28,12 +28,14 @@ {% if tag in selected_tags %} {{ tag.title }} {{ count }} {% else %} {{ tag.title }} {{ count }} diff --git a/app/templates/packages/view.html b/app/templates/packages/view.html index f2c22e3a..560ee827 100644 --- a/app/templates/packages/view.html +++ b/app/templates/packages/view.html @@ -56,7 +56,10 @@ {% endfor %} {% for t in package.tags %} {{ t.title }} + title="{{ t.description or '' }}" + href="{{ url_for('packages.list_all', tag=t.name) }}"> + {{ t.title }} + {% endfor %}