X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a859fe1acf600640b922ac0a160b4a993d35778c..71cb84bbe244d0ef471a385b02f1f432bc17b606:/app/views/browse/changeset.html.erb diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb index 3c5ba7de0..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,6 +78,8 @@
    +
    " data-changeset-id="<%= @changeset.id %>" data-method="POST" data-url="<%= changeset_comment_url(@changeset) %>" disabled="1" class="btn btn-sm btn-primary" />