From 515313438da13faa9555665683d4321fd9bf0d49 Mon Sep 17 00:00:00 2001
From: Marek Labos
Date: Mon, 20 Aug 2012 01:38:17 +0200
Subject: rewrite comments count msg + add link to comments section
---
app/views/refinery/blog/shared/_post.html.erb | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
(limited to 'app')
diff --git a/app/views/refinery/blog/shared/_post.html.erb b/app/views/refinery/blog/shared/_post.html.erb
index 40ae70b..532d48f 100644
--- a/app/views/refinery/blog/shared/_post.html.erb
+++ b/app/views/refinery/blog/shared/_post.html.erb
@@ -34,15 +34,11 @@
<%= link_to t('read_more', :scope => 'refinery.blog.shared.posts'), refinery.blog_post_path(post) %>
<% end %>
-
+ <% if Refinery::Blog::Post.comments_allowed? %>
+
+ <% end %>
<% end %>
--
cgit v1.2.3