Sha256: 0414c769e26cdcc8cddd5bb41a06196700a373315941d2c1729ae72ba199f7d2

Contents?: true

Size: 981 Bytes

Versions: 4

Compression:

Stored size: 981 Bytes

Contents

<div class="comment__actions">
  <% if depth.zero? && has_replies_in_children? %>
    <button class="button button__sm button__text-secondary comment__hide" data-controls="comment-<%= model.id %>-replies">
      <%= icon "arrow-up-s-line" %>
      <span class="hide-comment-replies font-normal"><%= t("decidim.components.comment.hide_replies") %></span>
      <%= icon "arrow-down-s-line" %>
      <span class="show-comment-replies font-normal"><%= t("decidim.components.comment.show_replies", count: replies.size, replies_count: replies.size ) %></span>
    </button>
  <% end %>
  <% if can_reply? %>
    <button class="button button__sm button__text-secondary" data-controls="panel-<%= reply_id %>">
      <%= 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

4 entries across 4 versions & 1 rubygems

Version Path
decidim-comments-0.28.1 app/cells/decidim/comments/comment/actions.erb
decidim-comments-0.28.0 app/cells/decidim/comments/comment/actions.erb
decidim-comments-0.28.0.rc5 app/cells/decidim/comments/comment/actions.erb
decidim-comments-0.28.0.rc4 app/cells/decidim/comments/comment/actions.erb