Add email subscriptions (#38163)
This commit is contained in:
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'
|
||||
Reference in new issue
Block a user