]> git.openstreetmap.org Git - rails.git/blob - app/views/notes/_comment.html.erb
Refactor diary entry tests to use User factory
[rails.git] / app / views / 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 "note.description.#{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 "note.description.#{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>