X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2145480a00739c3add27eb4569fb03ac8b8cd6f1..a8f49f5747abfb51c44bf16ca372b20000f9558d:/app/views/browse/changeset.html.erb
diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb
index 3c5ba7de0..93e0abf21 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 %>
@@ -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? %>
<% 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" />