diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-09-14 10:44:59 +0200 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-09-14 10:44:59 +0200 |
commit | 79dfa104623d51b7e0bdb411eadceda1747d0a20 (patch) | |
tree | 1542f86ee36a5606af0e9df70fea4e9f44b2060f /source/static/templates/favorites.html | |
parent | The logo of the feed has been added to the feed management page (/feed). (diff) | |
download | newspipe-79dfa104623d51b7e0bdb411eadceda1747d0a20.tar.gz newspipe-79dfa104623d51b7e0bdb411eadceda1747d0a20.tar.bz2 newspipe-79dfa104623d51b7e0bdb411eadceda1747d0a20.zip |
Templates has been removed to the upper folder.
Diffstat (limited to 'source/static/templates/favorites.html')
-rw-r--r-- | source/static/templates/favorites.html | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/source/static/templates/favorites.html b/source/static/templates/favorites.html deleted file mode 100644 index 4dd17b6b..00000000 --- a/source/static/templates/favorites.html +++ /dev/null @@ -1,30 +0,0 @@ -## favorites.html -<%inherit file="base.html"/> -<% -import utils -%> -<div class="left inner"> - <h1>Your favorites articles (${sum([elem.count() for elem in articles.values()])})</h1> - %for feed in feeds: - <% - new_feed_section = True - %> - %for article in articles[feed["feed_id"]]: - <% - if new_feed_section: - new_feed_section = False - title = """<h2><a name="%s"><a href="%s" rel="noreferrer"target="_blank">%s</a></a><a href="%s" rel="noreferrer" target="_blank"><img src="%s" width="28" height="28" /></a></h2>\n""" % \ - (feed["feed_id"], feed["site_link"], feed["feed_title"], feed["feed_link"], feed["feed_image"]) - else: - title = "" - article_content = utils.clear_string(article["article_content"]) - if article_content: - description = " ".join(article_content[:500].split(' ')[:-1]) - else: - description = "No description." - %> - ${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 /> - %endfor - %endfor |