From 7569e79dcc647c54398753a66238ec32ff0a820d Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Sat, 14 Mar 2020 21:22:53 +0100 Subject: hide the feed column when a specific feed is selected --- newspipe/templates/home.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/newspipe/templates/home.html b/newspipe/templates/home.html index 34149b5c..8264807c 100644 --- a/newspipe/templates/home.html +++ b/newspipe/templates/home.html @@ -101,7 +101,9 @@ {% endif%} - {{ _('Feed') }} + {% if not feed_id %} + {{ _('Feed') }} + {% endif %} {{ _('Article') }} {{ _('Date') }} @@ -123,11 +125,13 @@ {% if filter_ == 'all' %}{% endif %} {% endif %} - {{ article.source.title | safe }} + {% if not feed_id %} + {{ article.source.title | safe }} + {% endif %} {{ article.title | safe }} - {{ article.date | datetime }} + {{ article.date | datetime(format='short') }} {% endfor %} -- cgit