Sha256: 41c4b531dc430a03d4468b0499860d9be4baad796de282fd2f43b2da1c34ad29

Contents?: true

Size: 435 Bytes

Versions: 2

Compression:

Stored size: 435 Bytes

Contents

<% # Clients of this partial must supply the following variable:
   # thread
%>

<% user = send(Commontator.current_user_method) %>

<% if thread.can_be_read_by?(user) %>
  <%= stylesheet_link_tag "commontator/application", :media => "all" %>

  <div id="thread_<%= thread.id %>_div" class="thread">
    <%= link_to 'View ' + thread.config.comment_name.pluralize, commontator.thread_path(thread), :remote => true %>
  </div>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
commontator-0.4.1 app/views/commontator/shared/_thread_link.html.erb
commontator-0.3.10 app/views/commontator/shared/_thread_link.html.erb