]> git.openstreetmap.org Git - rails.git/blob - app/views/trace/_description.html.erb
Refactor diary entry tests to use User factory
[rails.git] / app / views / trace / _description.html.erb
1 <%= image_tag(url_for(:controller => :trace, :action => :icon, :id => description.id, :display_name => description.user.display_name)) %>
2 <% if description.size -%>
3 <%= t "trace.description.description_with_count", :count => description.size, :user => description.user.display_name %>
4 <% else -%>
5 <%= t "trace.description.description_without_count", :user => description.user.display_name %>
6 <% end -%>