X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/bb2ffab9ec0ce6ff4c2ee69ddfa57e4f75963685..2559226be3baa2007a37689867bc945c3a6c9fe0:/app/views/browse/changeset.html.erb diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb index 1217c03be..8f0f70dbf 100644 --- a/app/views/browse/changeset.html.erb +++ b/app/views/browse/changeset.html.erb @@ -37,10 +37,10 @@ <% if comment.visible %>
  • - <%= t(".commented_by", + <%= t(".commented_by_html", :when => friendly_date_ago(comment.created_at), :exact_time => l(comment.created_at), - :user => link_to(comment.author.display_name, user_path(comment.author))).html_safe %> + :user => link_to(comment.author.display_name, user_path(comment.author))) %> <% if current_user and current_user.moderator? %> — <%= t("javascripts.changesets.show.hide_comment") %> <% end %> @@ -50,10 +50,10 @@ <% elsif current_user and current_user.moderator? %>
  • - <%= t(".hidden_commented_by", + <%= t(".hidden_commented_by_html", :when => friendly_date_ago(comment.created_at), :exact_time => l(comment.created_at), - :user => link_to(comment.author.display_name, user_path(comment.author))).html_safe %> + :user => link_to(comment.author.display_name, user_path(comment.author))) %> — <%= t("javascripts.changesets.show.unhide_comment") %> <%= comment.body.to_html %>