mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 21:41:33 +00:00
Fixing a couple small bugs around missing users, nd missing icons.
This commit is contained in:
parent
215816a15d
commit
eaf585d47d
2 changed files with 4 additions and 2 deletions
|
@ -37,7 +37,9 @@ NEWSBLUR.Views.ProfileThumb = Backbone.View.extend({
|
||||||
if (!user && user_id == NEWSBLUR.Globals.user_id) {
|
if (!user && user_id == NEWSBLUR.Globals.user_id) {
|
||||||
user = NEWSBLUR.assets.user_profile;
|
user = NEWSBLUR.assets.user_profile;
|
||||||
}
|
}
|
||||||
return new NEWSBLUR.Views.ProfileThumb(_.extend({}, {model: user}, options));
|
if (user) {
|
||||||
|
return new NEWSBLUR.Views.ProfileThumb(_.extend({}, {model: user}, options));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
|
@ -60,7 +60,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if activity.category == 'sharedstory' %}
|
{% if activity.category == 'sharedstory' %}
|
||||||
<img class="NB-interaction-photo" src="/rss_feeds/icon/{{ activity.feed_id }}" data-feed-id="{{ activity.feed_id }}">
|
<img class="NB-interaction-photo" src="/rss_feeds/icon/{{ activity.story_feed_id }}" data-feed-id="{{ activity.story_feed_id }}">
|
||||||
<div class="NB-interaction-date">
|
<div class="NB-interaction-date">
|
||||||
{{ activity.time_since }} ago
|
{{ activity.time_since }} ago
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue