aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/feeds.html
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2014-04-08 08:25:21 +0200
committerCédric Bonhomme <kimble.mandel@gmail.com>2014-04-08 08:25:21 +0200
commit42d055f91f3fd69dc861b5572a465b1ce0e897dc (patch)
tree5a6902e5c5da6e82f2a0f758b4f7c31f0cbc1272 /pyaggr3g470r/templates/feeds.html
parentSort articles by date. (diff)
downloadnewspipe-42d055f91f3fd69dc861b5572a465b1ce0e897dc.tar.gz
newspipe-42d055f91f3fd69dc861b5572a465b1ce0e897dc.tar.bz2
newspipe-42d055f91f3fd69dc861b5572a465b1ce0e897dc.zip
Fixed /feeds template.
Diffstat (limited to 'pyaggr3g470r/templates/feeds.html')
-rw-r--r--pyaggr3g470r/templates/feeds.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyaggr3g470r/templates/feeds.html b/pyaggr3g470r/templates/feeds.html
index 6ab00af3..9e6a8cc1 100644
--- a/pyaggr3g470r/templates/feeds.html
+++ b/pyaggr3g470r/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="/edit_feed/">feed</a></h1>
+ <h1>You are subscribed to {{ feeds.all()|count }} feeds &middot; Add a <a href="/create_feed/">feed</a></h1>
<div class="table-responsive">
<table class="table table-striped">
<thead>
@@ -27,7 +27,7 @@
</td>
<td><a href="/feed/{{ feed.oid }}" {% if feed.description %}title="{{ feed.description }}"{% endif %}>{{ feed.title }}</a></td>
<td><a href="{{ feed.site_link }}">{{ feed.site_link }}</a></td>
- <td>{{ feed.articles|count }}</td>
+ <td>{{ feed.articles.all()|count }}</td>
<td>
<a href="/articles/{{ feed.oid }}"><i class="glyphicon glyphicon-th-list" title="All articles"></i></a>
<a href="/edit_feed/{{ feed.oid }}"><i class="glyphicon glyphicon-edit" title="Edit this feed"></i></a>
bgstack15