Sha256: 18431a93c7dfc82f6d24569e4e0e0d1cd4623721e8e5c9fc7d30d56199321574
Contents?: true
Size: 925 Bytes
Versions: 3
Compression:
Stored size: 925 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) %> <%= 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
3 entries across 3 versions & 1 rubygems