X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a13b40ace9c98dd2271ef05811b448e28af1751a..9b19a45e74abd4414bb79d6b992f7bec14390ad6:/app/views/browse/changeset.html.erb diff --git a/app/views/browse/changeset.html.erb b/app/views/browse/changeset.html.erb index afe3f8322..1217c03be 100644 --- a/app/views/browse/changeset.html.erb +++ b/app/views/browse/changeset.html.erb @@ -6,7 +6,9 @@
-
<%= linkify(@changeset.tags["comment"].to_s.presence || t("browse.no_comment")) %>
+

+ <%= linkify(@changeset.tags["comment"].to_s.presence || t("browse.no_comment")) %> +

<%= changeset_details(@changeset) %>
<%= render :partial => "tag_details", :object => @changeset.tags.except("comment") %> @@ -15,7 +17,7 @@ <% if current_user %>
-
+ <% if @changeset.subscribers.exists?(current_user.id) %> " data-method="POST" data-url="<%= changeset_unsubscribe_url(@changeset) %>" /> <% else %> @@ -29,12 +31,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 +49,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 +73,7 @@ <% if current_user %> <% unless @changeset.is_open? %> - +
    " data-changeset-id="<%= @changeset.id %>" data-method="POST" data-url="<%= changeset_comment_url(@changeset) %>" disabled="1" />