From 88db0f45477f2278edd7877161942a215aaace3f Mon Sep 17 00:00:00 2001 From: Arjun Satarkar Date: Sun, 30 Jul 2023 22:34:39 +0530 Subject: Add tags to /list_feeds view --- views/index.tpl | 4 ++-- views/list_feeds.tpl | 53 +++++++++++++++++++++++++++++++++++++++++++++++----- 2 files changed, 50 insertions(+), 7 deletions(-) (limited to 'views') diff --git a/views/index.tpl b/views/index.tpl index 2114652..738adb6 100644 --- a/views/index.tpl +++ b/views/index.tpl @@ -22,7 +22,7 @@ th#th-tag { width: 20%; } - td.td-tag > div { + td.td-tags > div { width: 100%; height: 100%; margin: 0; @@ -114,7 +114,7 @@ - +
% tags = core.get_feed_tags(entry["feed_id"]) % for i, tag in enumerate(tags): diff --git a/views/list_feeds.tpl b/views/list_feeds.tpl index d780789..05cd8c9 100644 --- a/views/list_feeds.tpl +++ b/views/list_feeds.tpl @@ -5,6 +5,37 @@ List Feeds | TagRSS + < home @@ -12,11 +43,12 @@ - - - - - + + + + + + @@ -25,6 +57,17 @@ + -- cgit v1.2.3-57-g22cb
#IDFeedSourceManage#IDFeedTagsSourceManage
{{i + 1 + offset}} {{feed["id"]}} {{feed["title"]}} (filter) +
+ % tags = core.get_feed_tags(feed["id"]) + % for i, tag in enumerate(tags): + % if i > 0: + {{", "}} + % end + {{tag}} + % end +
+
🔗 ⚙