Skip to content

Commit

Permalink
yep
Browse files Browse the repository at this point in the history
  • Loading branch information
jaesivsm committed Feb 21, 2018
1 parent 075f43e commit d14b62b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion jarr/templates/feed_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1>{{_("No feed")}}</h1>
{% endif %}
</td>
<td><a href="{{ url_for("home", at="f", ai=feed.id) }}" {% if feed.description %}title="{{ feed.description }}"{% endif %}>
{% if feed.icon_url %}<img src="{{ url_for('icon.icon', url=feed.icon_url) }}" width="16px" />{% endif %}
{% if feed.icon_url %}<img src="{{ url_for('icon.get_icon', url=feed.icon_url) }}" width="16px" />{% endif %}
{{ feed.title }}
</a></td>
<td><a href="{{ feed.site_link }}">{{ feed.site_link }}</a></td>
Expand Down
4 changes: 2 additions & 2 deletions jarr/views/home.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def get_menu():
if not feed.filters:
feed['filters'] = []
if feed.icon_url:
feed['icon_url'] = url_for('icon.icon', url=feed.icon_url)
feed['icon_url'] = url_for('icon.get_icon', url=feed.icon_url)
categories[feed['category_id']]['feeds'].append(feed.id)
feeds[feed.id] = feed
return {'feeds': feeds, 'categories': categories,
Expand Down Expand Up @@ -116,7 +116,7 @@ def get_cluster(cluster_id, parse=False, article_id=None):
{'read': True, 'read_reason': reasons.ReadReason.read})
cluster['categories_id'] = cluster.categories_id or []
feed = FeedController(current_user.id).get(id__in=cluster.feeds_id)
feed['icon_url'] = url_for('icon.icon', url=feed.icon_url) \
feed['icon_url'] = url_for('icon.get_icon', url=feed.icon_url) \
if feed.icon_url else None
readability_available = bool(current_user.readability_key
or conf.plugins.readability_key)
Expand Down

0 comments on commit d14b62b

Please sign in to comment.