aboutsummaryrefslogtreecommitdiff
path: root/src/web/templates
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/templates')
-rw-r--r--src/web/templates/feed_list.html2
-rw-r--r--src/web/templates/feeds.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/web/templates/feed_list.html b/src/web/templates/feed_list.html
index 27815250..51561dee 100644
--- a/src/web/templates/feed_list.html
+++ b/src/web/templates/feed_list.html
@@ -1,4 +1,4 @@
-{% if feeds.all()| count == 0 %}
+{% if feeds| count == 0 %}
<h1>{{_("No feed")}}</h1>
{% else %}
<div class="table-responsive">
diff --git a/src/web/templates/feeds.html b/src/web/templates/feeds.html
index 9ba16359..074957f7 100644
--- a/src/web/templates/feeds.html
+++ b/src/web/templates/feeds.html
@@ -1,7 +1,7 @@
{% extends "layout.html" %}
{% block content %}
<div class="container">
- <h1>{{ _('You are subscribed to') }} {{ feeds.count() }} {{ _('feeds') }} &middot; {{ _('Add a') }} <a href="{{ url_for("feed.form") }}">{{ _('feed') }}</a></h1>
+ <h1>{{ _('You are subscribed to') }} {{ feeds|count }} {{ _('feeds') }} &middot; {{ _('Add a') }} <a href="{{ url_for("feed.form") }}">{{ _('feed') }}</a></h1>
{% include "feed_list.html" %}
</div><!-- /.container -->
{% endblock %}
bgstack15