X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c276625e7f35a1f9c31fe95325e150879f0b9a73..57d4b3d8ce7ac4b0daabc7ec1815b6e46e7ceae0:/app/views/notes/show.html.erb diff --git a/app/views/notes/show.html.erb b/app/views/notes/show.html.erb index 2378d8c2e..d355d3e5f 100644 --- a/app/views/notes/show.html.erb +++ b/app/views/notes/show.html.erb @@ -34,7 +34,9 @@ <% @note_comments.drop(1).each do |comment| %>
  • <%= note_event(comment.event, comment.created_at, comment.author) %> - <%= comment.body.to_html %> +
    + <%= comment.body.to_html %> +
  • <% end %> @@ -63,6 +65,10 @@ :url => comment_api_note_url(@note, "json") } %> + <% else -%> +

    + <%= link_to t(".log_in_to_comment"), login_path(:referer => request.fullpath) %> +

    <% end -%> <% else %>
    @@ -93,7 +99,7 @@ <% if @note.freshly_closed? %> - <%= t ".disappear_date_html", :disappear_in => disappear_in(@note) %> + <%= t ".disappear_date_html", :disappear_in => friendly_date(@note.freshly_closed_until) %> <% end %>