From fae19aa56c36ea5a4febf5bd3ced4a5326365fab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Mon, 17 Nov 2014 14:51:28 +0100 Subject: [PATCH] FEATURE: improve admin IP lookup dialog (add username/trust level/read time/topics entered) --- .../templates/components/ip-lookup.hbs | 26 ++++++++++++------- .../stylesheets/common/admin/admin_base.scss | 8 ++++++ config/locales/client.en.yml | 4 ++- 3 files changed, 27 insertions(+), 11 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/components/ip-lookup.hbs b/app/assets/javascripts/discourse/templates/components/ip-lookup.hbs index ba9c9d28df2..e6ea920f462 100644 --- a/app/assets/javascripts/discourse/templates/components/ip-lookup.hbs +++ b/app/assets/javascripts/discourse/templates/components/ip-lookup.hbs @@ -33,20 +33,26 @@
{{location.phone}}
{{/if}} {{else}} -
+ {{loading-spinner size="small"}} {{/if}} -
{{i18n ip_lookup.other_accounts}}
-
- {{#if other_accounts_loading}} -
- {{else}} - {{#each other_accounts}} - {{#link-to "adminUser" this}}{{avatar this usernamePath="user.username" imageSize="small"}}{{/link-to}} +
{{i18n ip_lookup.other_accounts}} {{other_accounts.length}}
+
+ {{#loading-spinner size="small" condition=other_accounts_loading}} + {{#if other_accounts}} +