Add "invite request content" display in user account admin page (#15265)
* feat: display `invite_request_text` in admin's user account page * fix: move invite_request to the bottom of accounts page * fix: remove time display, remove formate, change code terminology * fix: remove escaperemotes/1727458204337373841/tmp_refs/heads/signup-info-prompt
parent
1390cc194b
commit
75d2762fdf
|
@ -242,3 +242,13 @@
|
||||||
|
|
||||||
.actions
|
.actions
|
||||||
= f.button :button, t('admin.account_moderation_notes.create'), type: :submit
|
= f.button :button, t('admin.account_moderation_notes.create'), type: :submit
|
||||||
|
|
||||||
|
%hr.spacer/
|
||||||
|
|
||||||
|
- if @account.user&.invite_request&.text&.present?
|
||||||
|
%div.speech-bubble
|
||||||
|
%div.speech-bubble__bubble
|
||||||
|
= @account.user&.invite_request&.text
|
||||||
|
%div.speech-bubble__owner
|
||||||
|
= admin_account_link_to @account
|
||||||
|
= t('admin.accounts.invite_request_text')
|
||||||
|
|
|
@ -131,6 +131,7 @@ en:
|
||||||
follows: Follows
|
follows: Follows
|
||||||
header: Header
|
header: Header
|
||||||
inbox_url: Inbox URL
|
inbox_url: Inbox URL
|
||||||
|
invite_request_text: Reasons for joining
|
||||||
invited_by: Invited by
|
invited_by: Invited by
|
||||||
ip: IP
|
ip: IP
|
||||||
joined: Joined
|
joined: Joined
|
||||||
|
|
Loading…
Reference in New Issue