Sha256: d7c6b4acf6a35cfa24284e87303875cb76406f24632526b5eb6903eaf15d221e

Contents?: true

Size: 474 Bytes

Versions: 3

Compression:

Stored size: 474 Bytes

Contents

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

<% 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

3 entries across 3 versions & 1 rubygems

Version Path
commontator-0.2.4 app/views/commontator/commontator/_thread.html.erb
commontator-0.2.0 app/views/commontator/commontator/_thread.html.erb
commontator-0.1.46 app/views/commontator/commontator/_thread.html.erb