Sha256: 214491e5a993366650b592e6912ef79ea72a093a817d2f224cc32dce2cf662de

Contents?: true

Size: 1.05 KB

Versions: 6

Compression:

Stored size: 1.05 KB

Contents

<div class="comment__actions">
  <% if depth.zero? && has_replies_in_children? %>
    <button class="button button__sm button__text-secondary" data-comment-hide data-controls="comment-<%= model.id %>-replies" data-open="true" id="comment-<%= model.id %>-replies-trigger">
      <%= icon "arrow-down-s-line" %>
      <span data-show-comment-reply class="font-normal"><%= t("decidim.components.comment.show_replies", count: replies.size) %></span>
      <%= icon "arrow-up-s-line" %>
      <span data-hide-comment-reply class="font-normal"><%= t("decidim.components.comment.hide_replies", count: replies.size) %></span>
    </button>
  <% end %>
  <% if can_reply? %>
    <button class="button button__sm button__text-secondary" data-controls="panel-<%= reply_id %>" id="panel-<%= reply_id %>-trigger">
      <%= icon "chat-1-line" %>
      <span class="font-normal"><%= t("decidim.components.comment.reply") %></span>
      <%= icon "close-circle-line" %>
      <span class="font-normal"><%= t("decidim.components.comment.cancel_reply") %></span>
    </button>
  <% end %>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-comments-0.29.1 app/cells/decidim/comments/comment/actions.erb
decidim-comments-0.29.0 app/cells/decidim/comments/comment/actions.erb
decidim-comments-0.29.0.rc4 app/cells/decidim/comments/comment/actions.erb
decidim-comments-0.29.0.rc3 app/cells/decidim/comments/comment/actions.erb
decidim-comments-0.29.0.rc2 app/cells/decidim/comments/comment/actions.erb
decidim-comments-0.29.0.rc1 app/cells/decidim/comments/comment/actions.erb