Sha256: 22422a26b4433694d0a94e4c0eaca74352e52a486537328ec2001a7aea7dac6a

Contents?: true

Size: 444 Bytes

Versions: 22

Compression:

Stored size: 444 Bytes

Contents

<% if commentable? %>
  <%= link_to "#{resource_locator(from_context).path}#comments", title: t("decidim.author.comments", count: from_context.comments.count) do %>
    <%= icon "comment-square", class: "icon--small", aria_label: t("decidim.author.comments", count: from_context.comments.count), role: "img" %>
    <%= from_context.comments.count %> <%= t("decidim.author.comments", count: from_context.comments.count) %>
  <% end %>
<% end %>

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
decidim-core-0.13.0 app/cells/decidim/author/comments.erb
decidim-core-0.13.0.pre1 app/cells/decidim/author/comments.erb