From 488327324ab2f65fa8e0bc49a1d13efb505bba21 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Sat, 27 Oct 2018 00:34:08 +0200 Subject: Filter feeds per category on the user profile page. --- src/web/templates/feed_list_per_categories.html | 54 +++++++++++++++++++++++++ src/web/templates/profile_public.html | 2 +- 2 files changed, 55 insertions(+), 1 deletion(-) create mode 100644 src/web/templates/feed_list_per_categories.html (limited to 'src/web/templates') diff --git a/src/web/templates/feed_list_per_categories.html b/src/web/templates/feed_list_per_categories.html new file mode 100644 index 00000000..4b0e517e --- /dev/null +++ b/src/web/templates/feed_list_per_categories.html @@ -0,0 +1,54 @@ +
+
+
+
+ + + +
+
+
+
+ +
+ +{% if feeds | length != 0 %} +
+ + + + + + + + + + {% for feed in feeds %} + + + + + + {% endfor %} + +
#{{ _('Title') }}{{ _('Site') }}
{{ loop.index }}{% if feed.icon_url %} {% endif %} {{ feed.title }}{{ feed.site_link }}
+
+ +{% endif %} diff --git a/src/web/templates/profile_public.html b/src/web/templates/profile_public.html index 9198acea..e30ae300 100644 --- a/src/web/templates/profile_public.html +++ b/src/web/templates/profile_public.html @@ -38,7 +38,7 @@

{{ _('Feeds') }}

- {% include "feed_list_simple.html" %} + {% include "feed_list_per_categories.html" %}
-- cgit