Event feed: Icons for some events

This commit is contained in:
Dmitriy Zaporozhets 2012-05-19 12:25:16 +03:00
parent 1e4d15b406
commit 860e3ab526
7 changed files with 11 additions and 2 deletions

View file

@ -1,3 +1,5 @@
- if event.action_name == "merged"
.event_icon= image_tag "event_mr_merged.png"
= image_tag gravatar_icon(event.author_email), :class => "avatar"
%strong #{event.author_name}
%span.event_label= event.action_name