summaryrefslogtreecommitdiff
path: root/app/views/settings/_event_table.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/settings/_event_table.html.haml')
-rw-r--r--app/views/settings/_event_table.html.haml12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/views/settings/_event_table.html.haml b/app/views/settings/_event_table.html.haml
new file mode 100644
index 00000000000..977ff30d5a6
--- /dev/null
+++ b/app/views/settings/_event_table.html.haml
@@ -0,0 +1,12 @@
+%h5.prepend-top-0
+ = _('History of authentications')
+
+%ul.content-list
+ - events.each do |event|
+ %li
+ %span.description
+ = audit_icon(event.details[:with], class: "append-right-5")
+ = _('Signed in with %{authentication} authentication') % { authentication: event.details[:with]}
+ %span.float-right= time_ago_with_tooltip(event.created_at)
+
+= paginate events, theme: "gitlab"