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