Sha256: 05fe1714528cde49182d372ce3eda4935660444b7942b47efa040db9af0b752b
Contents?: true
Size: 848 Bytes
Versions: 6
Compression:
Stored size: 848 Bytes
Contents
<% # Clients of this partial must supply the following variables: # thread # user %> <% subscription = thread.subscription_for(user) %> <% if thread.can_be_read_by?(user) %> <%= stylesheet_link_tag "commontator/application.css", :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} (#{subscription ? (subscription.unread.to_s + '/' + thread.comments.count.to_s) : thread.comments.count.to_s})", \ commontator.thread_path(thread), :remote => true %> <% end %> </div> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems