<% if done.completed_at %> <%= image_tag( "done.png", :width=>"16", :height=>"16", :border=>"0") %> <%= format_date( done.completed_at ) %> <%= " " + sanitize(done.description) + " "%> <% if done.project_id %> <%= "(" + done.context['name'] + ", " + done.project['name'] + ")" %> <% else %> <%= "(" + done.context['name'] + ")" %> <% end %> <% if done.due %> <%= " - " + t('todos.was_due_on_date', :date => format_date( done.due )) %> <% end %> <%= collapsed_notes_image(done) if done.notes? %> <% end %>