Sha256: bd464361c852a88b6058c53f622e55e6d56ed5148462f06e411d9bf9b6510b75

Contents?: true

Size: 576 Bytes

Versions: 5

Compression:

Stored size: 576 Bytes

Contents

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

<% if thread.is_closed? %>
  <p><%= t 'commontator.thread.status.closed_by' %></p>
<% elsif !user %>
  <p><%= t 'commontator.require_login' %>.</p>
<% else %>
  <div id="thread_<%= thread.id %>_new_comment_div" class="thread_new_comment"></div>

  <span id="thread_<%= thread.id %>_new_comment_link_span" class="thread_new_comment_link">
    <%= link_to t('commontator.comment.actions.new'),
        commontator.new_thread_comment_path(thread), :remote => true %>
  </span>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
commontator-4.5.4 app/views/commontator/threads/_reply.html.erb
commontator-4.5.3 app/views/commontator/threads/_reply.html.erb
commontator-4.5.2 app/views/commontator/threads/_reply.html.erb
commontator-4.5.1 app/views/commontator/threads/_reply.html.erb
commontator-4.5.0 app/views/commontator/threads/_reply.html.erb