X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3af16f6337b52546297e7e09a1aba9b0e1df7e15..e731dd71a77ad4ad1e9db22535e89444bb98e5d9:/app/views/browse/changeset.html.erb?ds=sidebyside diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb index f39d8263f..9ad35b2a7 100644 --- a/app/views/browse/changeset.html.erb +++ b/app/views/browse/changeset.html.erb @@ -36,7 +36,7 @@
  • <%= t(".commented_by", - :when => friendly_date(comment.created_at), + :when => friendly_date_ago(comment.created_at), :exact_time => l(comment.created_at), :user => link_to(h(comment.author.display_name), user_path(comment.author))).html_safe %> <% if current_user and current_user.moderator? %> @@ -49,7 +49,7 @@
  • <%= t(".hidden_commented_by", - :when => friendly_date(comment.created_at), + :when => friendly_date_ago(comment.created_at), :exact_time => l(comment.created_at), :user => link_to(h(comment.author.display_name), user_path(comment.author))).html_safe %> — <%= t("javascripts.changesets.show.unhide_comment") %> @@ -74,7 +74,7 @@
    - " data-changeset-id="<%= @changeset.id %>" data-method="POST" data-url="<%= changeset_comment_url(@changeset) %>" disabled="1"/> + " data-changeset-id="<%= @changeset.id %>" data-method="POST" data-url="<%= changeset_comment_url(@changeset) %>" disabled="1" />
    <% else %> @@ -127,10 +127,8 @@ <%= link_to "<< #{@prev_by_user.id}", :id => @prev_by_user.id %> · <% end %> - <%= - user = (@prev_by_user || @next_by_user).user.display_name - link_to content_tag(:bdi, user), :controller => "changesets", :action => "index", :display_name => user - %> + <%= user = (@prev_by_user || @next_by_user).user.display_name + link_to content_tag(:bdi, user), :controller => "changesets", :action => "index", :display_name => user %> <% if @next_by_user %> · <%= link_to "#{@next_by_user.id} >>", :id => @next_by_user.id %>