mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-18 13:38:24 -04:00
Also massively simplified the original application.yml.example I originally committed. Let's do this one step at a time.
27 lines
732 B
Plaintext
27 lines
732 B
Plaintext
- site_name = ENV['GROWSTUFF_SITE_NAME']
|
|
%p Hello #{@notification.recipient.login_name},
|
|
|
|
%p
|
|
You have received a message from
|
|
= link_to @notification.sender.login_name, member_url(@notification.sender)
|
|
on #{site_name} at #{@notification.created_at}
|
|
- if @notification.post
|
|
in response to
|
|
= link_to @notification.post.subject, post_url(@notification.post)
|
|
\.
|
|
%blockquote
|
|
:growstuff_markdown
|
|
#{strip_tags @notification.body}
|
|
|
|
%p
|
|
= link_to "Reply to this message", @reply_link
|
|
%br/
|
|
= link_to "View this message in your inbox", notification_url(@notification)
|
|
%br/
|
|
= link_to "Turn off these notifications", edit_member_registration_url
|
|
|
|
%p
|
|
The #{site_name} team.
|
|
%br/
|
|
=link_to root_url, root_url
|