X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e68d4efc3cdf02f35144e3967be998aaa633a3de..61c32388a9d9543ce0b3144fdfac22c73c9efe7f:/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 b5c360a03..583ac107f 100644 --- a/app/views/browse/changeset.html.erb +++ b/app/views/browse/changeset.html.erb @@ -17,15 +17,11 @@ <% if current_user %>
-
-
- <% if @changeset.subscribers.exists?(current_user.id) %> - " data-method="POST" data-url="<%= changeset_unsubscribe_url(@changeset) %>" /> - <% else %> - " data-method="POST" data-url="<%= changeset_subscribe_url(@changeset) %>" /> - <% end %> -
-
+ <% if @changeset.subscribers.exists?(current_user.id) %> + + <% else %> + + <% end %>
<% end %> @@ -39,25 +35,27 @@
  • <%= t(".comment_by_html", - :time_ago => tag.abbr(friendly_date_ago(comment.created_at), - :title => l(comment.created_at)), + :time_ago => friendly_date_ago(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") %> <% end %> - <%= comment.body.to_html %> +
    + <%= comment.body.to_html %> +
  • <% elsif current_user and current_user.moderator? %>
  • <%= t(".hidden_comment_by_html", - :time_ago => tag.abbr(friendly_date_ago(comment.created_at), - :title => l(comment.created_at)), + :time_ago => friendly_date_ago(comment.created_at), :user => link_to(comment.author.display_name, user_path(comment.author))) %> — <%= t("javascripts.changesets.show.unhide_comment") %> - <%= comment.body.to_html %> +
    + <%= comment.body.to_html %> +
  • <% end %> <% end %> @@ -67,7 +65,7 @@ <% end %> <% unless current_user %> -

    +

    <%= link_to(t(".join_discussion"), login_path(:referer => request.fullpath)) %>

    <% end %> @@ -78,14 +76,14 @@
    -