X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/12c1d5e6c05813a0697724277b4d8529a1a7c240..75a4d406b9e8471c0fe0ebf2a47d47f0ae36289a:/app/views/browse/changeset.html.erb
diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb
index 4045c0b48..ec4e0c1c2 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,28 @@
<% if comment.visible %>
<% elsif current_user and current_user.moderator? %>
<% end %>
<% end %>
@@ -78,6 +76,8 @@
+
" data-changeset-id="<%= @changeset.id %>" data-method="POST" data-url="<%= changeset_comment_url(@changeset) %>" disabled="1" class="btn btn-sm btn-primary" />