Sha256: 04321c3f5af30d7eecce610e0c5eb9a84f1cebefa4cd32620641bed206999444
Contents?: true
Size: 975 Bytes
Versions: 5
Compression:
Stored size: 975 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, :page => @commontator_page, :per_page => @commontator_per_page} %> <% else %> <%= link_to "#{t 'commontator.thread.actions.show'} (#{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
5 entries across 5 versions & 1 rubygems