Sha256: baec4e2dbec3c1f2ccfadea4d6112d74956b889d940ca3b89f2293fb85a2b275

Contents?: true

Size: 688 Bytes

Versions: 2

Compression:

Stored size: 688 Bytes

Contents

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

<% if thread.can_be_read_by?(user) %>
  <%= stylesheet_link_tag "commontator/application", :media => "all" %>

  <div id="thread_<%= thread.id %>_div" class="thread" style="display: none;">
    <% if @commontator_thread_show %>
      <%= render :partial => 'commontator/threads/show', :locals => {:thread => thread,
                                                                     :user => user} %>
    <% else %>
      <%= link_to "Show #{thread.config.comment_name.pluralize} (#{thread.comments.count})", commontator.thread_path(thread), :remote => true %>
    <% end %>
  </div>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
commontator-0.5.14 app/views/commontator/shared/_thread.html.erb
commontator-0.5.13 app/views/commontator/shared/_thread.html.erb