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