Skip to content

Commit

Permalink
Makes the articles list comments more clickable
Browse files Browse the repository at this point in the history
  • Loading branch information
Frédéric de Villamil committed Aug 27, 2013
1 parent 01ef735 commit f1fe413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/admin/content/_article_list.html.erb
Expand Up @@ -11,7 +11,7 @@
<%= format_date article.published_at %><br />
<%= published_or_not article %>
</td>
<td><%= (article.allow_comments?) ? link_to(article.comments.ham.size.to_s, :controller => '/admin/feedback', :id => article.id, :action => 'article') : '-' %> <i class='icon icon-comment'></i></td>
<td><%= (article.allow_comments?) ? link_to("#{article.comments.ham.size.to_s} <i class='icon icon-comment'></i>".html_safe, :controller => '/admin/feedback', :id => article.id, :action => 'article') : '-' %> </td>
</tr>
<% end %>
<%= display_pagination(@articles, 5, 'first', 'last')%>

0 comments on commit f1fe413

Please sign in to comment.