summaryrefslogtreecommitdiff
path: root/app/views/events/_event.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/events/_event.html.haml')
-rw-r--r--app/views/events/_event.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/events/_event.html.haml b/app/views/events/_event.html.haml
index 46432a92348..2d9d9dd6342 100644
--- a/app/views/events/_event.html.haml
+++ b/app/views/events/_event.html.haml
@@ -1,10 +1,10 @@
-- if event.proper?
+- if event.proper?(current_user)
.event-item{class: "#{event.body? ? "event-block" : "event-inline" }"}
.event-item-timestamp
#{time_ago_with_tooltip(event.created_at)}
- = cache [event, current_application_settings, "v2.1"] do
- = image_tag avatar_icon(event.author_email, 46), class: "avatar s46", alt:''
+ = cache [event, current_application_settings, "v2.2"] do
+ = image_tag avatar_icon(event.author_email, 40), class: "avatar s40", alt:''
- if event.created_project?
= render "events/event/created_project", event: event
- elsif event.push?