From 9740947692e05209d2375bccc2248faa7c0b7d7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Hells=C3=A9n?= Date: Tue, 20 Dec 2022 03:30:40 +0100 Subject: [PATCH] Update feed page --- discord_rss_bot/templates/feed.html | 38 ++++++----------------------- 1 file changed, 7 insertions(+), 31 deletions(-) diff --git a/discord_rss_bot/templates/feed.html b/discord_rss_bot/templates/feed.html index f2cd78f..386a6bb 100644 --- a/discord_rss_bot/templates/feed.html +++ b/discord_rss_bot/templates/feed.html @@ -2,42 +2,18 @@ {% block title %} | {{ feed.title }}{% endblock %} {% block content %}
- {# The feed title.#} -

- - {{ feed.title }} - {% if not feed.updates_enabled %} - - disabled - {% endif %} - -

+ +

{{ feed.title }}

- {# Feed subtitle, probably description. #} - {% if feed.subtitle %} - {{ feed.subtitle }} -
- {% endif %} + {% if not feed.updates_enabled %}Disabled{% endif %} - {# When this feed was added.#} - {% if feed.added %} - Added: {{ feed.added.strftime('%Y-%m-%d, %T') }} -
- {% endif %} + {% if feed.last_exception %}Last exception: {{ feed.last_exception }}{% endif %} - {# If this feed has had an error. #} - {% if feed.last_exception %} - Last exception: {{ feed.last_exception }} -
- {% endif %} - - {# Remove feed button. #} -
-
+ -
-
+ + {% if not feed.updates_enabled %}