diff options
Diffstat (limited to 'app/views/admin/blog/comments')
-rw-r--r-- | app/views/admin/blog/comments/_comment.html.erb | 4 | ||||
-rw-r--r-- | app/views/admin/blog/comments/index.html.erb | 10 | ||||
-rw-r--r-- | app/views/admin/blog/comments/show.html.erb | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/app/views/admin/blog/comments/_comment.html.erb b/app/views/admin/blog/comments/_comment.html.erb index 52a8167..1817c48 100644 --- a/app/views/admin/blog/comments/_comment.html.erb +++ b/app/views/admin/blog/comments/_comment.html.erb @@ -10,10 +10,10 @@ :target => "_blank" unless comment.unmoderated? %> <%= link_to refinery_icon_tag('zoom.png'), admin_blog_comment_path(comment), :title => t('.read') %> - <%= link_to refinery_icon_tag("cross.png"), + <%= link_to refinery_icon_tag("cross.png"), rejected_admin_blog_comment_path(comment, :return_to => request.path.split('/').last.gsub(/^comments$/, 'index')), :title => t('.reject') unless comment.rejected? %> - <%= link_to refinery_icon_tag("tick.png"), + <%= link_to refinery_icon_tag("tick.png"), approved_admin_blog_comment_path(comment, :return_to => request.path.split('/').last.gsub(/^comments$/, 'index')), :title => t('.approve') unless comment.approved? %> </span> diff --git a/app/views/admin/blog/comments/index.html.erb b/app/views/admin/blog/comments/index.html.erb index c1596a6..fbf268d 100644 --- a/app/views/admin/blog/comments/index.html.erb +++ b/app/views/admin/blog/comments/index.html.erb @@ -3,7 +3,7 @@ <% if searching? %> <h2><%= t('shared.admin.search.results_for', :query => params[:search]) %></h2> <% if @blog_comments.any? %> - <%=# will_paginate @blog_comments + <%=# will_paginate @blog_comments %> <ul> @@ -11,19 +11,19 @@ :collection => @blog_comments %> </ul> - <%=# will_paginate @blog_comments + <%=# will_paginate @blog_comments %> <% else %> <p><%= t('admin.search_no_results') %></p> <% end %> <% else %> <% if @blog_comments.any? %> - <%=# will_paginate @blog_comments + <%=# will_paginate @blog_comments %> <%= render :partial => "sortable_list" %> - <%=# will_paginate @blog_comments + <%=# will_paginate @blog_comments %> <% else %> <h3> @@ -32,4 +32,4 @@ </h3> <% end %> <% end %> -</div>
\ No newline at end of file +</div> diff --git a/app/views/admin/blog/comments/show.html.erb b/app/views/admin/blog/comments/show.html.erb index 82a5f6f..4faa2de 100644 --- a/app/views/admin/blog/comments/show.html.erb +++ b/app/views/admin/blog/comments/show.html.erb @@ -63,4 +63,4 @@ <% content_for :head, stylesheet_link_tag('refinery/refinerycms-blog') %> <% else %> <% content_for :stylesheets, stylesheet_link_tag('refinery/refinerycms-blog') %> -<% end %>
\ No newline at end of file +<% end %> |