{{ define "title"}}{{ t "page.sessions.title" }}{{ end }}
{{ define "content"}}
{{ t "page.sessions.title" }}
{{ template "settings_menu" dict "user" .user }}
{{ t "page.sessions.table.date" }} | {{ t "page.sessions.table.ip" }} | {{ t "page.sessions.table.user_agent" }} | {{ t "page.sessions.table.actions" }} |
---|---|---|---|
{{ elapsed $.user.Timezone .CreatedAt }} | {{ .IP }} | {{ .UserAgent }} | {{ if eq .Token $.currentSessionToken }} {{ t "page.sessions.table.current_session" }} {{ else }} {{ icon "delete" }}{{ t "action.remove" }} {{ end }} |