diff options
author | François Schmidts <francois.schmidts@gmail.com> | 2015-07-03 11:49:28 +0200 |
---|---|---|
committer | François Schmidts <francois.schmidts@gmail.com> | 2015-07-03 15:01:23 +0200 |
commit | 1513cd97911fdf4500ae17f7e8ee6d90ac4bac84 (patch) | |
tree | b66771229ecbffdf3e784859b33dcf65aaf0d603 /pyaggr3g470r/templates/home.html | |
parent | Minor improvements to the edit feed forms. (diff) | |
download | newspipe-1513cd97911fdf4500ae17f7e8ee6d90ac4bac84.tar.gz newspipe-1513cd97911fdf4500ae17f7e8ee6d90ac4bac84.tar.bz2 newspipe-1513cd97911fdf4500ae17f7e8ee6d90ac4bac84.zip |
the icon feature
* icon of feeds is now an url retrieved from the feed or the site link
* the icon is displayed in the home page making it visually easier to read
* the http crawler is in charge of keeping it up to date
Diffstat (limited to 'pyaggr3g470r/templates/home.html')
-rw-r--r-- | pyaggr3g470r/templates/home.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pyaggr3g470r/templates/home.html b/pyaggr3g470r/templates/home.html index 6d1ca85e..5c961888 100644 --- a/pyaggr3g470r/templates/home.html +++ b/pyaggr3g470r/templates/home.html @@ -105,7 +105,9 @@ {% if filter_ == 'all' %}</b>{% endif %} {% endif %} </td> - <td><a class="open-article" href="/article/redirect/{{ article.id}}" target="_blank">{{ article.source.title|safe }}</a></td> + <td><a class="open-article" href="/article/redirect/{{ article.id}}" target="_blank"> + {% if article.source.icon %}<img src="{{ article.source.icon }}" width="16px" />{% endif %} + {{ article.source.title|safe }}</a></td> <td {%if filter_ == 'all' and article.readed == False %}style='font-weight:bold'{% endif %}> <a href="/article/{{ article.id }}">{{ article.title|safe }}</a> </td> |