* 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>
13 lines
652 B
Text
13 lines
652 B
Text
<span class="color-base-30 px-2 m:pl-0" role="presentation">•</span>
|
|
|
|
<a href="<%= URL.comment(decorated_comment) %>" class="comment-date crayons-link crayons-link--secondary fs-s">
|
|
<time datetime="<%= decorated_comment.published_timestamp %>">
|
|
<%= decorated_comment.readable_publish_date %>
|
|
</time>
|
|
|
|
<% if decorated_comment.edited_at.present? %>
|
|
<%= t("views.comments.edited.text_html",
|
|
on: tag.span(t("views.comments.edited.on_html", date: tag.time(decorated_comment.edited_at.strftime(t("time.formats.short")), datetime: decorated_comment.edited_timestamp), class: %w[hidden m:inline-block]))
|
|
) %>
|
|
<% end %>
|
|
</a>
|