X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1977e66ace0751b8b4fdf3b55bde367ec33e7c57..c03ba5f6b8335456c27019e5c7b8299870ecba9c:/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 5a50aa91f..c15e1f8c6 100644 --- a/app/views/browse/changeset.html.erb +++ b/app/views/browse/changeset.html.erb @@ -15,7 +15,7 @@ <% if current_user %>
-
+ <% if @changeset.subscribers.exists?(current_user.id) %> " data-method="POST" data-url="<%= changeset_unsubscribe_url(@changeset) %>" /> <% else %> @@ -29,7 +29,7 @@ <% if @comments.length > 0 %>
- +
    <% @comments.each do |comment| %> <% if comment.visible %> @@ -71,7 +71,7 @@ <% if current_user %> <% unless @changeset.is_open? %> - +
    " data-changeset-id="<%= @changeset.id %>" data-method="POST" data-url="<%= changeset_comment_url(@changeset) %>" disabled="1" />