X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e89742928ddccbe127955f94be4be61e13f1faed..c03ba5f6b8335456c27019e5c7b8299870ecba9c:/app/views/browse/changeset.html.erb diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb index 3c41dd83f..c15e1f8c6 100644 --- a/app/views/browse/changeset.html.erb +++ b/app/views/browse/changeset.html.erb @@ -15,7 +15,7 @@ <% if current_user %>
-
+ <% if @changeset.subscribers.exists?(current_user.id) %> " data-method="POST" data-url="<%= changeset_unsubscribe_url(@changeset) %>" /> <% else %> @@ -29,12 +29,12 @@ <% if @comments.length > 0 %>
- +
    <% @comments.each do |comment| %> <% if comment.visible %>
  • - + <%= t(".commented_by", :when => friendly_date_ago(comment.created_at), :exact_time => l(comment.created_at), @@ -47,7 +47,7 @@
  • <% elsif current_user and current_user.moderator? %>
  • - + <%= t(".hidden_commented_by", :when => friendly_date_ago(comment.created_at), :exact_time => l(comment.created_at), @@ -71,7 +71,7 @@ <% if current_user %> <% unless @changeset.is_open? %> - +
    " data-changeset-id="<%= @changeset.id %>" data-method="POST" data-url="<%= changeset_comment_url(@changeset) %>" disabled="1" /> @@ -128,7 +128,7 @@ · <% end %> <%= user = (@prev_by_user || @next_by_user).user.display_name - link_to content_tag(:bdi, user), :controller => "changesets", :action => "index", :display_name => user %> + link_to tag.bdi(user), :controller => "changesets", :action => "index", :display_name => user %> <% if @next_by_user %> · <%= link_to "#{@next_by_user.id} >>", :id => @next_by_user.id %>