X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/dff0c82f17d15ebed01941b9a24f9e0ab8feb1df..a859fe1acf600640b922ac0a160b4a993d35778c:/app/views/browse/changeset.html.erb diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb index 4045c0b48..3c5ba7de0 100644 --- a/app/views/browse/changeset.html.erb +++ b/app/views/browse/changeset.html.erb @@ -38,9 +38,9 @@ <% if comment.visible %>
  • - <%= t(".commented_by_html", - :when => friendly_date_ago(comment.created_at), - :exact_time => l(comment.created_at), + <%= t(".comment_by_html", + :time_ago => tag.abbr(friendly_date_ago(comment.created_at), + :title => l(comment.created_at)), :user => link_to(comment.author.display_name, user_path(comment.author))) %> <% if current_user and current_user.moderator? %> — <%= t("javascripts.changesets.show.hide_comment") %> @@ -51,9 +51,9 @@ <% elsif current_user and current_user.moderator? %>
  • - <%= t(".hidden_commented_by_html", - :when => friendly_date_ago(comment.created_at), - :exact_time => l(comment.created_at), + <%= t(".hidden_comment_by_html", + :time_ago => tag.abbr(friendly_date_ago(comment.created_at), + :title => l(comment.created_at)), :user => link_to(comment.author.display_name, user_path(comment.author))) %> — <%= t("javascripts.changesets.show.unhide_comment") %>