diff options
author | François Schmidts <francois.schmidts@gmail.com> | 2015-08-03 14:36:13 +0200 |
---|---|---|
committer | François Schmidts <francois.schmidts@gmail.com> | 2015-08-03 15:50:41 +0200 |
commit | 0caffceec8b58bc3f78c0d8ea36d2f7e9da668ec (patch) | |
tree | 25ede52ae4b02a2377ae40d2c146c7ed2e9abe2a /pyaggr3g470r/templates/feeds.html | |
parent | ensuring the icon isn't empty and redoing a bit of logging (diff) | |
download | newspipe-0caffceec8b58bc3f78c0d8ea36d2f7e9da668ec.tar.gz newspipe-0caffceec8b58bc3f78c0d8ea36d2f7e9da668ec.tar.bz2 newspipe-0caffceec8b58bc3f78c0d8ea36d2f7e9da668ec.zip |
sqlalchemy was requesting icons everytime feed where listed
so i choosed to move the icons into their own table
Diffstat (limited to 'pyaggr3g470r/templates/feeds.html')
-rw-r--r-- | pyaggr3g470r/templates/feeds.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/templates/feeds.html b/pyaggr3g470r/templates/feeds.html index 20e0cccb..82af2411 100644 --- a/pyaggr3g470r/templates/feeds.html +++ b/pyaggr3g470r/templates/feeds.html @@ -29,7 +29,7 @@ {% endif %} </td> <td><a href="{{ url_for("feed.feed", feed_id=feed.id) }}" {% if feed.description %}title="{{ feed.description }}"{% endif %}> - {% if feed.icon %}<img src="{{ url_for('feed.icon', feed_id=feed.id) }}" width="16px" />{% endif %} + {% if feed.icon_url %}<img src="{{ url_for('icon.icon', url=feed.icon_url) }}" width="16px" />{% endif %} {{ feed.title }} </a></td> <td><a href="{{ feed.site_link }}">{{ feed.site_link }}</a></td> |