app/views/commontator/shared/_thread.html.erb in commontator-4.10.5 vs app/views/commontator/shared/_thread.html.erb in commontator-4.11.0
- old
+ new
@@ -2,22 +2,20 @@
# thread
# 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 %>
<% subscription = thread.subscription_for(user) %>
- <%= link_to "#{t 'commontator.thread.actions.show'} (#{(subscription.unread_comments.count.to_s + '/') \
- if subscription}#{thread.filtered_comments.count.to_s})", commontator.thread_path(thread),
+ <%= link_to "#{t 'commontator.thread.actions.show'} (#{(subscription.unread_comments.count.to_s + '/') if subscription}#{thread.filtered_comments.count.to_s})",
+ commontator.thread_path(thread),
:remote => true %>
<% end %>
</div>
<% end %>