Sha256: 14ed1b7954f0954187fdc6fe6a011309c1f60ac8bbcd33ed130f8a6edfaa351e

Contents?: true

Size: 581 Bytes

Versions: 12

Compression:

Stored size: 581 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_show_thread %>
      <%= render :partial => 'commontator/threads/show', :locals => {:thread => thread} %>
    <% else %>
      <%= link_to "Show #{thread.config.comment_name.pluralize} (#{thread.comments.count})", commontator.thread_path(thread), :remote => true %>
    <% end %>
  </div>
<% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
commontator-1.1.1 app/views/commontator/shared/_thread_link.html.erb~
commontator-1.1.0 app/views/commontator/shared/_thread_link.html.erb~
commontator-1.0.6 app/views/commontator/shared/_thread_link.html.erb~
commontator-1.0.5 app/views/commontator/shared/_thread_link.html.erb~
commontator-1.0.4 app/views/commontator/shared/_thread_link.html.erb~
commontator-1.0.3 app/views/commontator/shared/_thread_link.html.erb~
commontator-1.0.2 app/views/commontator/shared/_thread_link.html.erb~
commontator-1.0.1 app/views/commontator/shared/_thread_link.html.erb~
commontator-1.0.0 app/views/commontator/shared/_thread_link.html.erb~
commontator-0.5.14 app/views/commontator/shared/_thread_link.html.erb~
commontator-0.5.13 app/views/commontator/shared/_thread_link.html.erb~
commontator-0.5.12 app/views/commontator/shared/_thread_link.html.erb~