Sha256: a96504d26b276dd62e5efade5a0f5fc59326d10cf211e820f9368cee4e9c169a

Contents?: true

Size: 873 Bytes

Versions: 11

Compression:

Stored size: 873 Bytes

Contents

<div class="comment__actions">
  <button class="comment__hide muted-link <%= depth.zero? && has_replies_in_children? ? "" : "hide" %>" aria-controls="comment-<%= model.id %>-replies" data-toggle="comment_<%= model.id %>">
    <%= icon "comment-square", class: "icon--small", role: "img", "aria-hidden": true %>&nbsp;
    <span class="hide-comment-replies"><%= t("decidim.components.comment.hide_replies") %></span>
    <span class="show-comment-replies"><%= t("decidim.components.comment.show_replies", count: replies.size, replies_count: replies.size ) %></span>
  </button>
  <% if can_reply? %>
    <button class="comment__reply muted-link" aria-controls="<%= reply_id %>" data-toggle="<%= reply_id %>">
      <%= icon "pencil", class: "icon--small", role: "img", "aria-hidden": true %>&nbsp;<%= t("decidim.components.comment.reply") %>
    </button>
  <% end %>
</div>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
decidim-comments-0.27.9 app/cells/decidim/comments/comment/actions.erb
decidim-comments-0.27.8 app/cells/decidim/comments/comment/actions.erb
decidim-comments-0.27.7 app/cells/decidim/comments/comment/actions.erb
decidim-comments-0.27.6 app/cells/decidim/comments/comment/actions.erb
decidim-comments-0.26.10 app/cells/decidim/comments/comment/actions.erb
decidim-comments-0.26.9 app/cells/decidim/comments/comment/actions.erb
decidim-comments-0.27.5 app/cells/decidim/comments/comment/actions.erb
decidim-comments-0.26.8 app/cells/decidim/comments/comment/actions.erb
decidim-comments-0.27.4 app/cells/decidim/comments/comment/actions.erb
decidim-comments-0.27.3 app/cells/decidim/comments/comment/actions.erb
decidim-comments-0.26.7 app/cells/decidim/comments/comment/actions.erb