Sha256: 364bee81b2dde798bfac2044ef1cd3c0162fa86e6ba938fb3ad75b04db104996

Contents?: true

Size: 1.09 KB

Versions: 10

Compression:

Stored size: 1.09 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">
        <h4 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 %>
        </h4>
        <%= render :order_control %>
      </div>
      <%= single_comment_warning %>
      <%= blocked_comments_warning %>
      <div class="comment-threads">
        <% 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

10 entries across 10 versions & 1 rubygems

Version Path
decidim-comments-0.26.0 app/cells/decidim/comments/comments/show.erb
decidim-comments-0.26.0.rc2 app/cells/decidim/comments/comments/show.erb
decidim-comments-0.26.0.rc1 app/cells/decidim/comments/comments/show.erb
decidim-comments-0.25.2 app/cells/decidim/comments/comments/show.erb
decidim-comments-0.25.1 app/cells/decidim/comments/comments/show.erb
decidim-comments-0.25.0 app/cells/decidim/comments/comments/show.erb
decidim-comments-0.25.0.rc4 app/cells/decidim/comments/comments/show.erb
decidim-comments-0.25.0.rc3 app/cells/decidim/comments/comments/show.erb
decidim-comments-0.25.0.rc2 app/cells/decidim/comments/comments/show.erb
decidim-comments-0.25.0.rc1 app/cells/decidim/comments/comments/show.erb