FIX: make IP lookup available to moderators
This commit is contained in:
parent
0111cb4cc2
commit
23a97bffbe
|
@ -106,7 +106,7 @@
|
||||||
<div class='field'>{{i18n user.ip_address.title}}</div>
|
<div class='field'>{{i18n user.ip_address.title}}</div>
|
||||||
<div class='value'>{{ip_address}}</div>
|
<div class='value'>{{ip_address}}</div>
|
||||||
<div class='controls'>
|
<div class='controls'>
|
||||||
{{#if currentUser.admin}}
|
{{#if currentUser.staff}}
|
||||||
<button class='btn' {{action "refreshBrowsers" target="content"}}>
|
<button class='btn' {{action "refreshBrowsers" target="content"}}>
|
||||||
{{i18n admin.user.refresh_browsers}}
|
{{i18n admin.user.refresh_browsers}}
|
||||||
</button>
|
</button>
|
||||||
|
@ -119,7 +119,7 @@
|
||||||
<div class='field'>{{i18n user.registration_ip_address.title}}</div>
|
<div class='field'>{{i18n user.registration_ip_address.title}}</div>
|
||||||
<div class='value'>{{registration_ip_address}}</div>
|
<div class='value'>{{registration_ip_address}}</div>
|
||||||
<div class='controls'>
|
<div class='controls'>
|
||||||
{{#if currentUser.admin}}
|
{{#if currentUser.staff}}
|
||||||
{{ip-lookup ip=registration_ip_address user_id=id}}
|
{{ip-lookup ip=registration_ip_address user_id=id}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue