Expose a user's .current_sign_in_ip in the admin panel

This commit is contained in:
Dennis Schubert 2020-09-02 21:06:13 +02:00
parent f2b118dc32
commit 517e3b22ba
No known key found for this signature in database
GPG key ID: 5A0304BEA7966D7E
2 changed files with 3 additions and 0 deletions

View file

@ -27,6 +27,8 @@
%dd= user.person.diaspora_handle
%dt= t(".last_seen")
%dd= user.last_seen || t(".unknown")
%dt= t(".current_sign_in_ip")
%dd= user.current_sign_in_ip || t(".unknown")
- if user.invited_by.present?
%dt= t(".invite_token")
%dd= invite_code_url(user.invited_by.invitation_code)

View file

@ -146,6 +146,7 @@ en:
email: "Email"
diaspora_handle: "diaspora* ID"
last_seen: "Last seen"
current_sign_in_ip: "IP address at current sign in"
account_closed: "Account closed"
nsfw: "#nsfw"
admin: "Admin"