Sha256: 619df340b966ddf0ce3aa2c1f3ece9b8a9425c865d01596f845cfeeeece76507

Contents?: true

Size: 983 Bytes

Versions: 2

Compression:

Stored size: 983 Bytes

Contents

<% # Clients of this partial must supply the following variable:
   # thread
%>

<span id="thread_<%= thread.id %>_header_span" class="thread_header">
  <%= thread.config.comment_name.capitalize.pluralize %>
</span>

<div id="thread_<%= thread.id %>_comment_list_div" class="thread_comment_list">
  <% thread.comments.each do |comment| %>
    <% next unless comment.can_be_read_by?(@commontator)is_deleted? && !thread.config.deleted_comments_are_visible %>
    <%= render :partial => 'commontator/comments/show',
               :locals => {:comment => comment} %>
  <% end %>
</div>

<% unless thread.is_closed? %>

  <div id="thread_<%= thread.id %>_new_comment_div" class="thread_new_comment"></div>

  <span id="thread_<%= thread.id %>_new_comment_link_span" class="thread_new_comment_link">
    <%= link_to thread.config.comment_create_verb_present.capitalize + ' ' + thread.config.comment_name,
        new_thread_comment_path(thread), :remote => true %>
  </span>
  
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
commontator-0.2.0 app/views/commontator/threads/_show.html.erb~
commontator-0.1.46 app/views/commontator/threads/_show.html.erb~