mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-24 21:13:54 -04:00
FIX: make IP lookup available to moderators
This commit is contained in:
parent
0111cb4cc2
commit
23a97bffbe
1 changed files with 2 additions and 2 deletions
|
@ -106,7 +106,7 @@
|
|||
<div class='field'>{{i18n user.ip_address.title}}</div>
|
||||
<div class='value'>{{ip_address}}</div>
|
||||
<div class='controls'>
|
||||
{{#if currentUser.admin}}
|
||||
{{#if currentUser.staff}}
|
||||
<button class='btn' {{action "refreshBrowsers" target="content"}}>
|
||||
{{i18n admin.user.refresh_browsers}}
|
||||
</button>
|
||||
|
@ -119,7 +119,7 @@
|
|||
<div class='field'>{{i18n user.registration_ip_address.title}}</div>
|
||||
<div class='value'>{{registration_ip_address}}</div>
|
||||
<div class='controls'>
|
||||
{{#if currentUser.admin}}
|
||||
{{#if currentUser.staff}}
|
||||
{{ip-lookup ip=registration_ip_address user_id=id}}
|
||||
{{/if}}
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue