diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-10-13 16:01:11 +0200 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-10-13 16:01:11 +0200 |
commit | 4b59d40ba6754c3a50474dc43fd93a74b3577dc2 (patch) | |
tree | 8849ab4ad68393b6feb45b1c008ea9afefe26faf /pyaggr3g470r/templates/articles.html | |
parent | First implementation of /management page. (diff) | |
download | newspipe-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.html | 10 |
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 |