mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-04-13 09:42:01 +00:00
Adding IP to admin.
This commit is contained in:
parent
b42d6b9182
commit
e41106dce3
2 changed files with 3 additions and 0 deletions
|
@ -404,6 +404,7 @@ def payment_history(request):
|
|||
statistics = {
|
||||
"created_date": user.date_joined,
|
||||
"last_seen_date": user.profile.last_seen_on,
|
||||
"last_seen_ip": user.profile.last_seen_ip,
|
||||
"timezone": unicode(user.profile.timezone),
|
||||
"stripe_id": user.profile.stripe_id,
|
||||
"profile": user.profile,
|
||||
|
|
|
@ -93,6 +93,8 @@ _.extend(NEWSBLUR.ReaderUserAdmin.prototype, {
|
|||
$.make('dd', data.statistics.created_date),
|
||||
$.make('dt', 'Last seen:'),
|
||||
$.make('dd', data.statistics.last_seen_date),
|
||||
$.make('dt', 'Last IP:'),
|
||||
$.make('dd', data.statistics.last_seen_ip),
|
||||
$.make('dt', 'Timezone:'),
|
||||
$.make('dd', data.statistics.timezone),
|
||||
$.make('dt', 'Email:'),
|
||||
|
|
Loading…
Add table
Reference in a new issue