Add text templates counterparts for the bundle mailer
This commit is contained in:
@@ -0,0 +1 @@
|
||||
<%= notification.creator.name %>
|
||||
@@ -0,0 +1 @@
|
||||
#<%= notification.card.id %> | <%= notification.card.collection.name %>
|
||||
@@ -0,0 +1,6 @@
|
||||
================================================================================
|
||||
[<%= notification.creator.name %>]
|
||||
|
||||
<%= render "notification/bundle_mailer/header", notification: notification %>
|
||||
<%= render "notification/bundle_mailer/#{notification.source_type.underscore}/body", notification: notification %>
|
||||
<%= render "notification/bundle_mailer/footer", notification: notification %>
|
||||
@@ -0,0 +1,6 @@
|
||||
<% event = notification.source %>
|
||||
|
||||
<%= event_notification_title(event) %>
|
||||
<%= notification_url(notification.source) %>
|
||||
|
||||
<%= event_notification_body(event) %>
|
||||
@@ -0,0 +1,6 @@
|
||||
<% mention = notification.source %>
|
||||
|
||||
<%= mention.mentioner.first_name %> mentioned you
|
||||
<%= notification_url(mention) %>
|
||||
|
||||
<%= mention.source.mentionable_content.truncate(200) %>
|
||||
@@ -1 +1,4 @@
|
||||
PENDING...
|
||||
Everything since <%= @bundle.starts_at.strftime("%-l%P on %A, %B %-d") %>
|
||||
You have <%= pluralize @notifications.count, "new notification" %>.
|
||||
|
||||
<%= render partial: "notification/bundle_mailer/notification", collection: @notifications, as: :notification %>
|
||||
|
||||
Reference in New Issue
Block a user