]> git.openstreetmap.org Git - rails.git/blob - app/views/api/notes/_comment.html.erb
d9c17848b26995f00abbd91f9e4fca25b943db84
[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(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(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>