|
|
@ -19,10 +19,10 @@ |
|
|
|
%td |
|
|
|
%td |
|
|
|
%samp= session.ip |
|
|
|
%samp= session.ip |
|
|
|
%td |
|
|
|
%td |
|
|
|
- if request.session['auth_id'] == session.session_id |
|
|
|
- if current_session.session_id == session.session_id |
|
|
|
= t 'sessions.current_session' |
|
|
|
= t 'sessions.current_session' |
|
|
|
- else |
|
|
|
- else |
|
|
|
%time.time-ago{ datetime: session.updated_at.iso8601, title: l(session.updated_at) }= l(session.updated_at) |
|
|
|
%time.time-ago{ datetime: session.updated_at.iso8601, title: l(session.updated_at) }= l(session.updated_at) |
|
|
|
%td |
|
|
|
%td |
|
|
|
- if request.session['auth_id'] != session.session_id |
|
|
|
- if current_session.session_id != session.session_id |
|
|
|
= table_link_to 'times', t('sessions.revoke'), settings_session_path(session), method: :delete |
|
|
|
= table_link_to 'times', t('sessions.revoke'), settings_session_path(session), method: :delete |
|
|
|