diff options
author | Uģis Ozols <ugis.ozolss@gmail.com> | 2012-07-07 10:04:27 +0300 |
---|---|---|
committer | Philip Arndt <parndt@gmail.com> | 2012-09-05 15:10:41 +1200 |
commit | 7e3184fa6f74fd4f055237a0f495a7cf0d293ac1 (patch) | |
tree | a2183075039d25200af9bf2635aab124d92db68e | |
parent | e7495f1fc3cb7931b94a84dde60764b30c1368ca (diff) | |
download | refinerycms-blog-7e3184fa6f74fd4f055237a0f495a7cf0d293ac1.tar.gz refinerycms-blog-7e3184fa6f74fd4f055237a0f495a7cf0d293ac1.tar.bz2 refinerycms-blog-7e3184fa6f74fd4f055237a0f495a7cf0d293ac1.zip |
Add approve/reject links in comment notification mail.
-rw-r--r-- | app/views/refinery/blog/comment_mailer/notification.html.erb | 5 | ||||
-rw-r--r-- | config/locales/en.yml | 4 |
2 files changed, 9 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 %> diff --git a/config/locales/en.yml b/config/locales/en.yml index 10cd1ab..b98921f 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -95,6 +95,10 @@ en: from: From email: Email message: Message + approve: Approve + or: " or " + reject: reject + this_comment: " this comment." closing_line: Kind Regards ps: 'P.S. All your comments are stored in the "Blog" section of Refinery under the "Comments" submenu should you ever want to view it there later.' shared: |