Add email subscriptions (#38163)

This commit is contained in:
Eugen Rochko authored and GitHub committed 2026-03-25 16:25:45 +00:00
1 parent b46d003e20
commit bcf0718a9a
108 files changed
+839 -516

No files matched your search

@@ -0,0 +1,12 @@
- content_for :page_title do
= t('.title')
.simple_form
%h1.title= t('.title')
%p.lead
- if @scope == :email_subscription
= t('.email_subscription.confirmation_html', name: display_name(@recipient.account))
- elsif @scope == :user
= t('.user.confirmation_html', type: I18n.t(@type, scope: 'unsubscriptions.notification_emails'), domain: site_hostname)
= link_to t('.action'), root_path, class: 'btn'