summaryrefslogtreecommitdiff
path: root/app/views/events/event/_private.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/events/event/_private.html.haml')
-rw-r--r--app/views/events/event/_private.html.haml10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/events/event/_private.html.haml b/app/views/events/event/_private.html.haml
new file mode 100644
index 00000000000..ccd2aacb4ea
--- /dev/null
+++ b/app/views/events/event/_private.html.haml
@@ -0,0 +1,10 @@
+.event-inline.event-item
+ .event-item-timestamp
+ = time_ago_with_tooltip(event.created_at)
+
+ .system-note-image= sprite_icon('eye-slash', size: 16, css_class: 'icon')
+
+ .event-title
+ - author_name = capture do
+ %span.author_name= link_to_author(event)
+ = s_('Profiles|%{author_name} made a private contribution').html_safe % { author_name: author_name }