diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-01-26 19:10:59 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-01-26 19:10:59 +0100 |
commit | 5989b3860868def331fdafbda274dbea712482ab (patch) | |
tree | e5c06ac4aacf269dbb0ee10401d34b06d01a07c3 | |
parent | Added feed description as link title. (diff) | |
download | newspipe-5989b3860868def331fdafbda274dbea712482ab.tar.gz newspipe-5989b3860868def331fdafbda274dbea712482ab.tar.bz2 newspipe-5989b3860868def331fdafbda274dbea712482ab.zip |
Updated /feed page.
-rw-r--r-- | pyaggr3g470r/templates/feed.html | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/pyaggr3g470r/templates/feed.html b/pyaggr3g470r/templates/feed.html index c405d913..1ad27947 100644 --- a/pyaggr3g470r/templates/feed.html +++ b/pyaggr3g470r/templates/feed.html @@ -8,15 +8,18 @@ <a href="/edit_feed/{{ feed.oid }}"><i class="glyphicon glyphicon-edit" title="Edit this feed"></i></a> </div> <div class="jumbotron"> - <p>This feed contains {{ feed.articles|count }} <a href="/articles/{{ feed.oid }}">articles</a>.</p> - <p>Address of the feed: <a href="{{ feed.link }}">{{ feed.link }}</a>.</p> - <p>Address of the site: <a href="{{ feed.site_link }}">{{ feed.site_link }}</a>.</p> + <p> + This feed contains {{ feed.articles|count }} <a href="/articles/{{ feed.oid }}">articles</a>.<br /> + Address of the feed: <a href="{{ feed.link }}">{{ feed.link }}</a>.<br /> + Address of the site: <a href="{{ feed.site_link }}">{{ feed.site_link }}</a>.<br /> + {% if feed.articles|count != 0 %} + The last article was posted {{ elapsed.days }} day(s) ago.<br /> + Daily average: {{ average }}, between the {{ first_post_date.strftime('%Y-%m-%d') }} and the {{ end_post_date.strftime('%Y-%m-%d') }}. + {% endif %} + </p> + </div> + <div class="jumbotron"> {% if feed.articles|count != 0 %} - <br /> - <p>The last article was posted {{ elapsed.days }} day(s) ago.<br /> - Daily average: {{ average }}, between the {{ first_post_date.strftime('%Y-%m-%d') }} and the {{ end_post_date.strftime('%Y-%m-%d') }}.</p> - <br /> - <h3>Tag cloud</h3> <div>{{ tag_cloud|safe }}</div> {% endif %} </div> |