Permalink
Browse files

show reply button on thread starting post

  • Loading branch information...
1 parent 7fd5834 commit 138a738755a1af94058351d09449293e79cab835 @localhost localhost committed Feb 10, 2009
Showing with 3 additions and 3 deletions.
  1. +3 −3 app/views/topics/show.html.erb
@@ -115,9 +115,9 @@
</td>
<td class="body entry-content" id="post-body-<%= post.id %>">
-<!--
- <%= link_to_function image_tag('clearbits/comment.gif', :class => 'icon reply'), "$('reply').toggle()" if logged_in? %>
--->
+
+ <%= link_to_function image_tag('clearbits/comment.gif', :class => 'icon reply'), "$('reply').toggle()" if logged_in? && @posts.first == post %>
+
<% if post.user.active? %>
<%= post.body_html %>
<% else %>

0 comments on commit 138a738

Please sign in to comment.