diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-11 16:47:36 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-11 16:47:36 +0100 |
commit | 447cfef62d74a670ddd600c0240f41746ac2fe0a (patch) | |
tree | 5c3ed8838f90435b4c4c52a366059cbbd2a24a67 /app/views | |
parent | b919f39b3186c5f022d3965cf6023ff9041e91ca (diff) |
Improving feed queries, switching API to doorkeeper authentication
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/stream_entries/_status.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/stream_entries/_status.html.haml b/app/views/stream_entries/_status.html.haml index 38986cf1f..6323501cc 100644 --- a/app/views/stream_entries/_status.html.haml +++ b/app/views/stream_entries/_status.html.haml @@ -24,10 +24,10 @@ .header__right .counter-btn{ class: reblogged_by_me_class(status) } %i.fa.fa-retweet - %span.counter-number= status.reblog? ? status.reblog.reblogs.count : status.reblogs.count + %span.counter-number= status.reblog? ? status.reblog.reblogs.count : status.reblogs_count .counter-btn{ class: favourited_by_me_class(status) } %i.fa.fa-star - %span.counter-number= status.reblog? ? status.reblog.favourites.count : status.favourites.count + %span.counter-number= status.reblog? ? status.reblog.favourites.count : status.favourites_count .content = status.reblog? ? (status.reblog.local? ? linkify(status.reblog) : status.reblog.content.html_safe) : (status.local? ? linkify(status) : status.content.html_safe) |