]> cat aescling's git repositories - mastodon.git/commitdiff
add account search condition (instance domain) (#5577)
authorMitarashiDango <MitarashiDango@users.noreply.github.com>
Wed, 1 Nov 2017 13:46:05 +0000 (22:46 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Wed, 1 Nov 2017 13:46:05 +0000 (14:46 +0100)
app/views/admin/accounts/index.html.haml
config/locales/en.yml

index 1b56a3a3164128437dc9a2c07d9816a5a6b9670a..27a0682d8bf50c91bdd3055e55978413d10e7e82 100644 (file)
@@ -42,7 +42,7 @@
       - if params[key].present?
         = hidden_field_tag key, params[key]
 
-    - %i(username display_name email ip).each do |key|
+    - %i(username by_domain display_name email ip).each do |key|
       .input.string.optional
         = text_field_tag key, params[key], class: 'string optional', placeholder: I18n.t("admin.accounts.#{key}")
 
index 2d821550af2d5971e8af65544b210519d52c6156..d72ec92d0bb01a2e94444099863fd8044c8b19b2 100644 (file)
@@ -59,6 +59,7 @@ en:
       destroyed_msg: Moderation note successfully destroyed!
     accounts:
       are_you_sure: Are you sure?
+      by_domain: Domain
       confirm: Confirm
       confirmed: Confirmed
       disable_two_factor_authentication: Disable 2FA