X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d3388abe51a946ae0abc645d831a93b1b2cc6749..049dfab8adf193cc0d20803950cc0001618549a0:/app/views/browse/changeset.html.erb
diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb
index 4045c0b48..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) %>
+
+ <% else %>
+
+ <% end %>
<% end %>
@@ -38,26 +34,30 @@
<% if comment.visible %>
<% elsif current_user and current_user.moderator? %>
<% 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" />