From 9b1758b3496d7674a2147fc8b9f8084974311c87 Mon Sep 17 00:00:00 2001 From: luxagraf Date: Mon, 13 May 2024 09:20:19 -0500 Subject: gtd: added fix to show update freq --- app/gtd/templates/gtd/wiredpost_table.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/gtd/templates/gtd/wiredpost_table.html b/app/gtd/templates/gtd/wiredpost_table.html index 15f62b7..ee56aa1 100644 --- a/app/gtd/templates/gtd/wiredpost_table.html +++ b/app/gtd/templates/gtd/wiredpost_table.html @@ -65,7 +65,7 @@ Date last pub {{object.category.name}} {{object.date_last_pub}} {{object.post_type}}{{object.get_post_type_display}} - {% if object.update_schedule %}{% for obj in object.update_schedule.all%}{{obj}}{% if forloop.last%}{%else%}, {%endif%}{%endfor%}{%else%}{{object.update_frequency}}{% endif %} + {% if object.update_schedule.all.exists %}{% for obj in object.update_schedule.all%}{{obj}}{% if forloop.last%}{%else%}, {%endif%}{%endfor%}{%else%} {{object.update_frequency}}{% endif %} {% if object.needs_update %} 1True{%else%} 0False{%endif%} -- cgit v1.2.3-70-g09d2