X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e3054fc15ac0fcc124700e80f44c1b9a180472d8..3ec67ea2d395f9ae78f806f8e583e10d691861de:/app/views/browse/changeset.html.erb
diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb
index f35c3924a..81e930812 100644
--- a/app/views/browse/changeset.html.erb
+++ b/app/views/browse/changeset.html.erb
@@ -1,13 +1,8 @@
-<% set_title(t('browse.changeset.title', :id => @changeset.id)) %>
+<% set_title(t('.title', :id => @changeset.id)) %>
- <%= t('browse.changeset.title', :id => @changeset.id) %>
- <% if current_user and current_user.id != @changeset.user.id %>
- <%= link_to new_report_url(reportable_id: @changeset.id, reportable_type: @changeset.class.name), :title => t('browse.changeset.report') do %>
- ⚐
- <% end %>
- <% end %>
+ <%= t('.title', :id => @changeset.id) %>
@@ -16,17 +11,19 @@
<%= render :partial => "tag_details", :object => @changeset.tags.except('comment') %>
-
+
-
-
-
+ <% if current_user %>
+
+
+
+ <% end %>
@@ -38,10 +35,9 @@
<% if comment.visible %>
<% end %>
-
- <%= link_to(t("browse.changeset.join_discussion"), :controller => 'user', :action => 'login', :referer => request.fullpath) %>
-
+ <% unless current_user %>
+
+ <%= link_to(t(".join_discussion"), :controller => 'users', :action => 'login', :referer => request.fullpath) %>
+
+ <% end %>
- <% unless @changeset.is_open? %>
-