From fcd37c5aad6b7acc1014ab90b06aaa401fa10bc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Hern=C3=A1ndez?= Date: Thu, 17 Sep 2026 13:53:39 +0000 Subject: [PATCH] Show the app used for registration in the moderation view of an account (#40567) --- app/views/admin/accounts/show.html.haml | 5 +++++ config/locales/en.yml | 1 + 2 files changed, 6 insertions(+) diff --git a/app/views/admin/accounts/show.html.haml b/app/views/admin/accounts/show.html.haml index 626e074b140..cb694f1cea6 100644 --- a/app/views/admin/accounts/show.html.haml +++ b/app/views/admin/accounts/show.html.haml @@ -31,6 +31,11 @@ = render 'admin/accounts/local_account', account: @account - else = render 'admin/accounts/remote_account', account: @account, domain_block: @domain_block + - if @account&.user&.created_by_application.present? + %tr + %th= t('admin.accounts.registration_app') + %td= @account&.user&.created_by_application&.name + %td %tr %th= t('admin.accounts.discoverable.title') %td= @account.discoverable? ? t('admin.accounts.discoverable.enabled') : t('admin.accounts.discoverable.disabled') diff --git a/config/locales/en.yml b/config/locales/en.yml index a569344745c..c276e4efa29 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -136,6 +136,7 @@ en: push_subscription_expires: PuSH subscription expires redownload: Refresh profile redownloaded_msg: Successfully refreshed %{username}'s profile from origin + registration_app: Registration app reject: Reject rejected_msg: Successfully rejected %{username}'s sign-up application remote_suspension_irreversible: The data of this account has been irreversibly deleted.