diff --git a/app/views/redstoner_mailer/new_post_comment_mail.html.erb b/app/views/redstoner_mailer/new_post_comment_mail.html.erb new file mode 100644 index 0000000..42a77ea --- /dev/null +++ b/app/views/redstoner_mailer/new_post_comment_mail.html.erb @@ -0,0 +1,29 @@ +
+
+ Hi <%= @user.name %>! + +

<%= link_to @comment.author.name, user_url(@comment.author), style: "text-decoration: none; color: #4096EE;" %> has replied to '<%= @comment.blogpost.title %>' on the Redstoner blog!

+ +
+ <%# TODO: fix relative links + iframes %> + <%= render_mini_md(@comment.content).html_safe %> +
+ +

<%= link_to "Click here", blogpost_url(@comment.blogpost) + "#comment-#{@comment.id}", style: "text-decoration: none; color: #4096EE;" %> to view the blog post.

+ +

If you have any questions or problems, just ask one of our <%= link_to "Staff", users_url(role: "staff"), style: "text-decoration: none; color: #4096EE;" %> in-game or on the forums!

+

Your Redstoner team

+ +
+
+
+

You cannot (yet) unsubscribe from these mails, sorry about that. Will add this ASAP! +

+

You can contact us via: + <%= link_to "Website", root_url, style: "text-decoration: none; color: #4096EE;" %> | + <%= link_to "Twitter", "https://twitter.com/RedstonerServer", style: "text-decoration: none; color: #4096EE;" %> | + <%= link_to "Google+", "https://google.com/+Redstoner", style: "text-decoration: none; color: #4096EE;" %> | + <%= link_to "Email", "mailto:redstonerserver+website@gmail.com", style: "text-decoration: none; color: #4096EE;" %> +

+
+ \ No newline at end of file diff --git a/app/views/redstoner_mailer/new_thread_reply_mail.html.erb b/app/views/redstoner_mailer/new_thread_reply_mail.html.erb new file mode 100644 index 0000000..d6bfa85 --- /dev/null +++ b/app/views/redstoner_mailer/new_thread_reply_mail.html.erb @@ -0,0 +1,29 @@ +
+
+ Hi <%= @user.name %>! + +

<%= link_to @reply.author.name, user_url(@reply.author), style: "text-decoration: none; color: #4096EE;" %> has replied to '<%= @reply.thread.title %>' on the Redstoner forums!

+ +
+ <%# TODO: fix relative links + iframes %> + <%= render_md(@reply.content).html_safe %> +
+ +

<%= link_to "Click here", forumthread_url(@reply.thread) + "#reply-#{@reply.id}", style: "text-decoration: none; color: #4096EE;" %> to view the thread.

+ +

If you have any questions or problems, just ask one of our <%= link_to "Staff", users_url(role: "staff"), style: "text-decoration: none; color: #4096EE;" %> in-game or on the forums!

+

Your Redstoner team

+ +
+
+
+

You cannot (yet) unsubscribe from these mails, sorry about that. Will add this ASAP! +

+

You can contact us via: + <%= link_to "Website", root_url, style: "text-decoration: none; color: #4096EE;" %> | + <%= link_to "Twitter", "https://twitter.com/RedstonerServer", style: "text-decoration: none; color: #4096EE;" %> | + <%= link_to "Google+", "https://google.com/+Redstoner", style: "text-decoration: none; color: #4096EE;" %> | + <%= link_to "Email", "mailto:redstonerserver+website@gmail.com", style: "text-decoration: none; color: #4096EE;" %> +

+
+ \ No newline at end of file