glitch-soc/app/views/settings/login_activities/_login_activity.html.haml

11 lines
429 B
Plaintext

.log-entry
.log-entry__header
.log-entry__avatar
.indicator-icon{ class: login_activity.success? ? 'success' : 'failure' }
= material_symbol login_activity.success? ? 'check' : 'close'
.log-entry__content
.log-entry__title
= login_activity_title(login_activity)
.log-entry__timestamp
%time.formatted{ datetime: login_activity.created_at.iso8601 }= l(login_activity.created_at)