From 0caffceec8b58bc3f78c0d8ea36d2f7e9da668ec Mon Sep 17 00:00:00 2001 From: François Schmidts Date: Mon, 3 Aug 2015 14:36:13 +0200 Subject: sqlalchemy was requesting icons everytime feed where listed so i choosed to move the icons into their own table --- pyaggr3g470r/templates/feeds.html | 2 +- pyaggr3g470r/templates/home.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'pyaggr3g470r/templates') 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 %} - {% if feed.icon %}{% endif %} + {% if feed.icon_url %}{% endif %} {{ feed.title }} {{ feed.site_link }} diff --git a/pyaggr3g470r/templates/home.html b/pyaggr3g470r/templates/home.html index 1577bd32..86d96e94 100644 --- a/pyaggr3g470r/templates/home.html +++ b/pyaggr3g470r/templates/home.html @@ -107,8 +107,8 @@ - {% if article.source.icon %} - + {% if article.source.icon_url %} + {% else %} {% endif %} -- cgit