diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2012-11-30 14:29:12 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2012-11-30 14:29:12 +0100 |
commit | 1f45444aa2da418c3c9dfe70e7ef39c0170b6f36 (patch) | |
tree | 88368039a5b63a98e9ae7ec37f20d50d3ba77234 /source/templates | |
parent | Removed useless function in mongodb.py. (diff) | |
download | newspipe-1f45444aa2da418c3c9dfe70e7ef39c0170b6f36.tar.gz newspipe-1f45444aa2da418c3c9dfe70e7ef39c0170b6f36.tar.bz2 newspipe-1f45444aa2da418c3c9dfe70e7ef39c0170b6f36.zip |
Performance MongoDB imptovements (get_gavorites() function).
Diffstat (limited to 'source/templates')
-rw-r--r-- | source/templates/favorites.html | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/source/templates/favorites.html b/source/templates/favorites.html index beb76ff8..5eba8a3c 100644 --- a/source/templates/favorites.html +++ b/source/templates/favorites.html @@ -10,7 +10,6 @@ import utils new_feed_section = True %> %for article in articles[feed["feed_id"]]: - %if article["article_like"]: <% if new_feed_section: new_feed_section = False @@ -26,8 +25,6 @@ import utils %> ${title} - - ${article["article_date"].strftime('%Y-%m-%d %H:%M')} - <a class="tooltip" href="/article/${feed['feed_id']}:${article['article_id']}" rel="noreferrer" target="_blank">${article["article_title"][:150]}<span class="classic">${description}</span></a><br /> - %endif + ${article["article_date"].strftime('%Y-%m-%d %H:%M')} - <a class="tooltip" href="/article/${feed['feed_id']}:${article['article_id']}" rel="noreferrer" target="_blank">${article["article_title"][:150]}<span class="classic">${description}</span></a><br /> %endfor %endfor
\ No newline at end of file |