aboutsummaryrefslogtreecommitdiff
path: root/src/web/templates
diff options
context:
space:
mode:
authorFrançois Schmidts <francois.schmidts@gmail.com>2015-10-12 17:48:41 +0200
committerFrançois Schmidts <francois.schmidts@gmail.com>2016-01-26 23:46:31 +0100
commit7cbbcb59f4c434fbd7e74e85c90e98fadd189b65 (patch)
treef979fd6300b8767c8bbca0a7ac5c3ee831df49df /src/web/templates
parentupdating translations (diff)
downloadnewspipe-7cbbcb59f4c434fbd7e74e85c90e98fadd189b65.tar.gz
newspipe-7cbbcb59f4c434fbd7e74e85c90e98fadd189b65.tar.bz2
newspipe-7cbbcb59f4c434fbd7e74e85c90e98fadd189b65.zip
adding, improving UI to manage categories
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