aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorUģis Ozols <ugis.ozolss@gmail.com>2012-07-07 10:04:27 +0300
committerPhilip Arndt <parndt@gmail.com>2012-09-05 15:10:41 +1200
commit7e3184fa6f74fd4f055237a0f495a7cf0d293ac1 (patch)
treea2183075039d25200af9bf2635aab124d92db68e /app
parente7495f1fc3cb7931b94a84dde60764b30c1368ca (diff)
downloadrefinerycms-blog-7e3184fa6f74fd4f055237a0f495a7cf0d293ac1.tar.gz
refinerycms-blog-7e3184fa6f74fd4f055237a0f495a7cf0d293ac1.tar.bz2
refinerycms-blog-7e3184fa6f74fd4f055237a0f495a7cf0d293ac1.zip
Add approve/reject links in comment notification mail.
Diffstat (limited to 'app')
-rw-r--r--app/views/refinery/blog/comment_mailer/notification.html.erb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/refinery/blog/comment_mailer/notification.html.erb b/app/views/refinery/blog/comment_mailer/notification.html.erb
index 8bf642e..bc0b1a8 100644
--- a/app/views/refinery/blog/comment_mailer/notification.html.erb
+++ b/app/views/refinery/blog/comment_mailer/notification.html.erb
@@ -11,6 +11,11 @@
<%=raw t('.comment_ends') %>
+<%=raw link_to t('.approve'), refinery.approve_blog_admin_comment_url(@comment) -%>
+<%=raw t('.or') -%>
+<%=raw link_to t('.reject'), refinery.reject_blog_admin_comment_url(@comment) -%>
+<%=raw t('.this_comment') %>
+
<%=raw t('.closing_line') %>,
<%=raw Refinery::Core.site_name %>