X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a70b61315c2331c18123a0b36782d6ef6bb3ab3e..c819bec8b7b81fb2766a67247440375e4a837d10:/app/views/browse/changeset.html.erb diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb index 84d85df3c..86d190680 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 current_user and @changeset.subscribers.exists?(current_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) %> @@ -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 %> ·