debian-mirror-gitlab/app/views/profiles/active_sessions/_active_session.html.haml

26 lines
666 B
Text
Raw Normal View History

2018-10-15 14:42:47 +05:30
- is_current_session = active_session.current?(session)
2018-11-08 19:23:39 +05:30
%li.list-group-item
.float-left.append-right-10{ data: { toggle: 'tooltip' }, title: active_session.human_device_type }
2018-10-15 14:42:47 +05:30
= active_session_device_type_icon(active_session)
2018-11-08 19:23:39 +05:30
.description.float-left
2018-10-15 14:42:47 +05:30
%div
%strong= active_session.ip_address
- if is_current_session
%div This is your current session
- else
%div
Last accessed on
= l(active_session.updated_at, format: :short)
%div
%strong= active_session.browser
on
%strong= active_session.os
%div
%strong Signed in
on
= l(active_session.created_at, format: :short)