瀏覽代碼

add account search condition (instance domain) (#5577)

master
MitarashiDango 6 年之前
committed by Eugen Rochko
父節點
當前提交
38d072446b
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. +1
    -1
      app/views/admin/accounts/index.html.haml
  2. +1
    -0
      config/locales/en.yml

+ 1
- 1
app/views/admin/accounts/index.html.haml 查看文件

@@ -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}")



+ 1
- 0
config/locales/en.yml 查看文件

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


Loading…
取消
儲存