Sha256: d3384c895aa47112a87e3e914c444dae712048d92eb79de055ac86f2225a76df

Contents?: true

Size: 1.12 KB

Versions: 12

Compression:

Stored size: 1.12 KB

Contents

<%= content_tag :div, id: node_id, data: { decidim_comments: comments_data } do %>
  <div class="columns large-9 comments-container" id="comments">
    <div class="comments">
      <div class="row collapse order-by">
        <h3 class="order-by__text section-heading">
          <% if single_comment? %>
            <%= t("decidim.components.comments.comment_details_title") %>
          <% else %>
            <span class="comments-count">
              <%= t("decidim.components.comments.title", count: comments_count) %>
            </span>
          <% end %>
        </h3>
        <%= render :order_control %>
      </div>
      <%= single_comment_warning %>
      <%= blocked_comments_warning %>
      <div class="comment-threads">
        <%= comments_loading %>
        <% comments.each do |comment| %>
          <%= cell("decidim/comments/comment_thread", comment, order: order) %>
        <% end %>
      </div>
      <%= add_comment %>
      <%= user_comments_blocked_warning %>
    </div>
    <div class="callout primary loading-comments hide">
      <p><%= t("decidim.components.comments.loading") %></p>
    </div>
  </div>
<% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
decidim-comments-0.27.9 app/cells/decidim/comments/comments/show.erb
decidim-comments-0.27.8 app/cells/decidim/comments/comments/show.erb
decidim-comments-0.27.7 app/cells/decidim/comments/comments/show.erb
decidim-comments-0.27.6 app/cells/decidim/comments/comments/show.erb
decidim-comments-0.27.5 app/cells/decidim/comments/comments/show.erb
decidim-comments-0.27.4 app/cells/decidim/comments/comments/show.erb
decidim-comments-0.27.3 app/cells/decidim/comments/comments/show.erb
decidim-comments-0.27.2 app/cells/decidim/comments/comments/show.erb
decidim-comments-0.27.1 app/cells/decidim/comments/comments/show.erb
decidim-comments-0.27.0 app/cells/decidim/comments/comments/show.erb
decidim-comments-0.27.0.rc2 app/cells/decidim/comments/comments/show.erb
decidim-comments-0.27.0.rc1 app/cells/decidim/comments/comments/show.erb