Sha256: d21cf5255b7dd1ba609ba1f2741749149300d142c3f3cec332ceb8a12ffa37c1

Contents?: true

Size: 532 Bytes

Versions: 3

Compression:

Stored size: 532 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" %>
  <%= javascript_include_tag "commontator/application" %>

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