Sha256: 9d6a0a4f2417a92555c231a86763369290dc446acf50f6d43fe0c43eda3a68fa

Contents?: true

Size: 665 Bytes

Versions: 3

Compression:

Stored size: 665 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">
    <% 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

3 entries across 3 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~
commontator-0.5.12 app/views/commontator/shared/_thread.html.erb