X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/effb1b7f4170bb7244c4dfffcbe6134fe00e2bc4..75189bd17d42166871c7ffce07917fdd73dbcfa4:/app/views/browse/changeset.html.erb
diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb
index 1fb1e74a4..c63b0112e 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_issue_url(reportable_id: @changeset.id, reportable_type: @changeset.class.name, referer: request.fullpath), :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? %>
-