docbrown/app/views/articles/_comments_actions.html.erb
yheuhtozr f762acca86
views/comments i18n (#15059)
* views/comments etc i18n

* comments PR fixes

* PR sync with main

* remove ja.yml

* Update _comment_header.html.erb

* Update index.html.erb

* Update _comment_header.html.erb

* Update en.yml

* Update fr.yml

* Update config/locales/views/comments/en.yml

Co-authored-by: Michael Kohl <citizen428@forem.com>

* Update _comment_date.erb

* Update en.yml

* Update fr.yml

Co-authored-by: Michael Kohl <citizen428@forem.com>
2021-10-27 17:13:43 +01:00

17 lines
644 B
Text

<div class="align-center">
<% if @comments_to_show_count && @article.comments_count > @comments_to_show_count %>
<div class="mb-4">
<a class="crayons-btn crayons-btn--secondary w-100" href="<%= @article.path %>/comments">
<%= t("views.comments.parent.view_full", count: @article.comments_count) %>
</a>
</div>
<% end %>
<% if @article.any_comments_hidden %>
<p class="fs-s color-base-60 mb-4">
<%= t("views.comments.hidden.text_html", info: link_to(t("views.comments.hidden.info"), "/faq")) %>
</p>
<% end %>
<%= render "articles/conduct_and_abuse_actions", page: "articles_show" %>
</div>