docbrown/app/views/comments/_discussion_lock_reason.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

10 lines
272 B
Text

<div id="discussion-lock" class="crayons-notice crayons-notice--warning mb-5" aria-live="polite">
<%= t("views.comments.locked") %>
<% if @discussion_lock&.reason %>
<div>
<em>
<%= @discussion_lock.reason %>
</em>
</div>
<% end %>
</div>