aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/articles.html
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-10-13 16:01:11 +0200
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-10-13 16:01:11 +0200
commit4b59d40ba6754c3a50474dc43fd93a74b3577dc2 (patch)
tree8849ab4ad68393b6feb45b1c008ea9afefe26faf /pyaggr3g470r/templates/articles.html
parentFirst implementation of /management page. (diff)
downloadnewspipe-4b59d40ba6754c3a50474dc43fd93a74b3577dc2.tar.gz
newspipe-4b59d40ba6754c3a50474dc43fd93a74b3577dc2.tar.bz2
newspipe-4b59d40ba6754c3a50474dc43fd93a74b3577dc2.zip
fixed bug in /articles page.
Diffstat (limited to 'pyaggr3g470r/templates/articles.html')
-rw-r--r--pyaggr3g470r/templates/articles.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/pyaggr3g470r/templates/articles.html b/pyaggr3g470r/templates/articles.html
index d98d1f80..146769ac 100644
--- a/pyaggr3g470r/templates/articles.html
+++ b/pyaggr3g470r/templates/articles.html
@@ -13,5 +13,15 @@
{% endfor %}
</div>
{% endfor %}
+ {% if feed.articles|length % 3 !=0 %}
+ <div class="row">
+ <div class="col-xs-6 col-sm-4 col-md-4">
+ {% if feed.articles[feed.articles|length-1].readed %}<h3>{% else %}<h1>{% endif %}
+ <a href="/article/{{ feed.articles[feed.articles|length-1].id }}">{{ feed.articles[feed.articles|length-1].title }}</a><h2>
+ {% if feed.articles[feed.articles|length-1].readed %}</h3>{% else %}</h1>{% endif %}
+ <h6>{{ feed.articles[feed.articles|length-1].date }}</h6>
+ </div>
+ </div>
+ {% endif %}
</div><!-- /.container -->
{% endblock %} \ No newline at end of file
bgstack15