summaryrefslogtreecommitdiff
path: root/app/views/profiles/_event_table.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/profiles/_event_table.html.haml')
-rw-r--r--app/views/profiles/_event_table.html.haml17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/views/profiles/_event_table.html.haml b/app/views/profiles/_event_table.html.haml
new file mode 100644
index 00000000000..269cb564cc2
--- /dev/null
+++ b/app/views/profiles/_event_table.html.haml
@@ -0,0 +1,17 @@
+- if defined?(events)
+ %table.table#audits
+ %thead
+ %tr
+ %th Action
+ %th When
+
+ %tbody
+ - events.each do |event|
+ %tr
+ %td
+ %span
+ Signed in with
+ %b= event.details[:with]
+ authentication
+ %td #{time_ago_in_words event.created_at} ago
+ = paginate events, theme: "gitlab"