]> git.openstreetmap.org Git - rails.git/blob - app/views/api/notes/_comment.html.erb
Bump eslint from 9.14.0 to 9.15.0
[rails.git] / app / views / api / notes / _comment.html.erb
1 <div class="note-comment" style="margin-top: 5px">
2   <% if comment.author.nil? -%>
3   <div class="note-comment-description" style="font-size: smaller; color: #999999"><%= t ".#{comment.event}_at_html", :when => friendly_date_ago(comment.created_at) %></div>
4   <% else -%>
5   <div class="note-comment-description" style="font-size: smaller; color: #999999"><%= t ".#{comment.event}_at_by_html", :when => friendly_date_ago(comment.created_at), :user => note_author(comment.author, :only_path => false) %></div>
6   <% end -%>
7   <div class="note-comment-text"><%= comment.body %></div>
8 </div>