X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a70b61315c2331c18123a0b36782d6ef6bb3ab3e..6648d3a2a6202566099423472665d3072eb02ae9:/app/views/browse/changeset.html.erb diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb index 84d85df3c..6a3e85680 100644 --- a/app/views/browse/changeset.html.erb +++ b/app/views/browse/changeset.html.erb @@ -11,6 +11,73 @@ <%= 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? %> +
+ +
+ +
+
+ <% else %> +
+ <%= t('browse.changeset.still_open') %> +
+ <% end %> + <% unless @ways.empty? %>

<%= type_and_paginated_count('way', @way_pages) %> @@ -42,7 +109,7 @@

<% end %> @@ -56,7 +123,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 %> ·