Sha256: fad2a7a64d3b204e1fe17ad701900366b32548c4cf350338094e6af7a724e7b8

Contents?: true

Size: 469 Bytes

Versions: 2

Compression:

Stored size: 469 Bytes

Contents

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

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

<% 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/threads/_link.html.erb~
commontator-0.3.10 app/views/commontator/threads/_link.html.erb~