From 06071e558008477e1b8dbb376d6693af97eeff32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?U=C4=A3is=20Ozols?= Date: Wed, 27 Jul 2011 17:28:09 +0300 Subject: Wip. --- .../refinery/admin/blog/comments/show.html.erb | 63 ++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 app/views/refinery/admin/blog/comments/show.html.erb (limited to 'app/views/refinery/admin/blog/comments/show.html.erb') diff --git a/app/views/refinery/admin/blog/comments/show.html.erb b/app/views/refinery/admin/blog/comments/show.html.erb new file mode 100644 index 0000000..d4c2186 --- /dev/null +++ b/app/views/refinery/admin/blog/comments/show.html.erb @@ -0,0 +1,63 @@ +
+

<%= t('.details')%>

+

+ <%= t('.age') %>: <%= time_ago_in_words(@blog_comment.created_at) %> +

+

<%= t('.actions') %>

+ +
+
+

<%= t('.comment') %>

+ + + + + + + + + + + + + + + + + +
+ <%= t('.blog_post') %> + + <%= link_to @blog_comment.post.title, + blog_post_url(@blog_comment.post, :anchor => "comment-#{@blog_comment.to_param}"), + :target => '_blank' %> +
+ <%= t('.from') %> + + <%= @blog_comment.name %> [<%= mail_to @blog_comment.email, @blog_comment.email, {:title => t('.click_to_email')} %>] +
+ <%= t('.date') %> + + <%= l(Date.parse(@blog_comment.created_at.to_s), :format => :long) %> +
+ <%= t('.message') %> + +

+ <%= @blog_comment.message.gsub("\r\n\r\n", "\r\n").gsub("\r\n", "

") %> +

+
+
+ +<% content_for :stylesheets, stylesheet_link_tag('refinery/refinerycms-blog') %> -- cgit v1.2.3