X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5c53bb78ab8a7292b489d7f8d1f38ba17a0287e6..0a3dd82c47f5df0d55554c80a3b47f54ef6d204b:/app/views/browse/changeset.html.erb diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb index 31799f0e9..a33214a70 100644 --- a/app/views/browse/changeset.html.erb +++ b/app/views/browse/changeset.html.erb @@ -11,6 +11,69 @@ <%= render :partial => "tag_details", :object => @changeset.tags.except('comment') %> +

<%= t('browse.changeset.discussion') %>

+ +
+
+ <% if @user and @changeset.subscribers.exists?(@user.id) %> + + <% else %> + + <% end %> +
+
+ +
+ + <% if @comments.length > 0 %> +
+
+ +
+
+ <% end %> + +
+ <%= link_to(t("browse.changeset.join_discussion"), :controller => 'user', :action => 'login', :referer => request.fullpath) %> +
+ + <% unless @changeset.is_open? %> +
+ +
+ +
+
+ <% end %> + <% unless @ways.empty? %>

<%= type_and_paginated_count('way', @way_pages) %> @@ -18,7 +81,7 @@

<% end %> @@ -30,7 +93,7 @@ <% end %> @@ -42,7 +105,7 @@ <% end %> @@ -56,7 +119,7 @@ <% end %> <%= user = (@prev_by_user || @next_by_user).user.display_name - link_to user, :controller => "changeset", :action => "list", :display_name => user + link_to content_tag(:bdi, user), :controller => "changeset", :action => "list", :display_name => user %> <% if @next_by_user %> ·