X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a274726f468b482b1553dd8fbbc3e3bc8f6a7a5f..71cb84bbe244d0ef471a385b02f1f432bc17b606:/app/views/browse/changeset.html.erb diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb index b5c360a03..74596e529 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 %> @@ -46,7 +42,9 @@ — <%= t("javascripts.changesets.show.hide_comment") %> <% end %> - <%= comment.body.to_html %> +
+ <%= comment.body.to_html %> +
<% elsif current_user and current_user.moderator? %>
  • @@ -57,7 +55,9 @@ :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 %> @@ -78,7 +78,7 @@
    -