Commit 0cd2ea88b3a70a968ac64346167f9056d6413907

Authored by Dmitriy Zaporozhets
1 parent 880fef0d

Dashboard avatars: No need to load 40px images if we render them in 24px

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/events/_event.html.haml
@@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
4 #{time_ago_in_words(event.created_at)} ago. 4 #{time_ago_in_words(event.created_at)} ago.
5 5
6 = cache event do 6 = cache event do
7 - = image_tag avatar_icon(event.author_email), class: "avatar s24", alt:'' 7 + = image_tag avatar_icon(event.author_email, 24), class: "avatar s24", alt:''
8 8
9 - if event.push? 9 - if event.push?
10 = render "events/event/push", event: event 10 = render "events/event/push", event: event