FIX: make IP lookup available to moderators

This commit is contained in:
Régis Hanol 2014-11-24 11:08:13 +01:00
parent 0111cb4cc2
commit 23a97bffbe
1 changed files with 2 additions and 2 deletions

View File

@ -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>