all layouts implemented in the emails
This commit is contained in:
parent
c97b081b2c
commit
0a20f80d6e
6 changed files with 40 additions and 247 deletions
14
app/views/mailbot/comment_template.html.erb
Normal file
14
app/views/mailbot/comment_template.html.erb
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<%= render partial: "layouts/mailbot_header" %>
|
||||
<span style="white-space: pre-line">
|
||||
Dear <%= @user.name %>,
|
||||
|
||||
User <%= @comment.user.name %> posted a new comment for event <%= @event.title %> of <%= @conference.short_title %> .
|
||||
|
||||
"<%= @comment.body %>"
|
||||
|
||||
To reply to this comment, please go to <%= h(admin_conference_program_event_url(@conference.short_title, @event, only_path: false)) %>
|
||||
|
||||
Best wishes,
|
||||
<%= @conference.title %> Team
|
||||
</span>
|
||||
<%= render partial: "layouts/mailbot_footer" %>
|
||||
Loading…
Add table
Add a link
Reference in a new issue