app/cells/decidim/comments/comment/show.erb in decidim-comments-0.28.0 vs app/cells/decidim/comments/comment/show.erb in decidim-comments-0.28.1
- old
+ new
@@ -28,23 +28,23 @@
<li>
<%= cell("decidim/report_button", model, only_button: true, button_classes: "dropdown__item flex-row-reverse", modal_id: "flagModalComment#{model.id}") %>
</li>
<% end %>
<li>
- <%= link_to "#{commentable_path("commentId" => model.id)}#comment_#{model.id}", target: "_blank", data: { "external-link": "false" }, class: "dropdown__item", title: t("decidim.components.comment.single_comment_link_title") do %>
+ <%= link_to "#{commentable_path("commentId" => model.id)}#comment_#{model.id}", target: "_blank", data: { "external-link": "text-only" }, class: "dropdown__item", title: t("decidim.components.comment.single_comment_link_title") do %>
<%= icon "share-line" %>
<span><%= t("decidim.components.comment.single_comment_link_title") %></span>
<% end %>
</li>
<% if model.authored_by?(current_user) %>
<li>
- <button type="button" class="dropdown__item" data-dialog-open="<%= "editCommentModal#{model.id}" %>" title="<%= t("decidim.components.comment.edit") %>" aria-controls="<%= "editCommentModal#{model.id}" %>" aria-haspopup="dialog" tabindex="2">
+ <button type="button" class="dropdown__item" data-dialog-open="<%= "editCommentModal#{model.id}" %>" title="<%= t("decidim.components.comment.edit") %>" aria-controls="<%= "editCommentModal#{model.id}" %>" aria-haspopup="dialog">
<%= icon "edit-line" %>
<span><%= t("decidim.components.comment.edit") %></span>
</button>
</li>
<li>
- <%= link_to comment_path, remote: true, method: :delete, class: "dropdown__item", data: { confirm: t("decidim.components.comment.confirm_destroy") }, tabindex: 3 do %>
+ <%= link_to comment_path, remote: true, method: :delete, class: "dropdown__item", data: { confirm: t("decidim.components.comment.confirm_destroy") } do %>
<%= icon "delete-bin-line" %>
<span><%= t("decidim.components.comment.delete") %></span>
<% end %>
</li>
<% end %>