mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-25 19:48:48 +01:00
23 lines
684 B
Text
23 lines
684 B
Text
|
|
<tr>
|
||
|
|
<% if done.completed_at %>
|
||
|
|
<td valign="top"><%= image_tag( "done.png", :width=>"16", :height=>"16", :border=>"0") %></td>
|
||
|
|
<td valign="top"><span class="grey"><%= format_date( done.completed_at ) %></span></td>
|
||
|
|
<td valign="top"><%= " " + sanitize(done.description) + " "%>
|
||
|
|
|
||
|
|
<% if done.project_id %>
|
||
|
|
<%= "(" + done.context['name'] + ", " + done.project['name'] + ")" %>
|
||
|
|
<% else %>
|
||
|
|
<%= "(" + done.context['name'] + ")" %>
|
||
|
|
<% end %>
|
||
|
|
|
||
|
|
<% if done.due %>
|
||
|
|
<%= " - was due on " + format_date( done.due ) %>
|
||
|
|
<% end %>
|
||
|
|
|
||
|
|
<% if done.notes? -%>
|
||
|
|
<%= render :partial => "todos/toggle_notes", :locals => { :item => done } %>
|
||
|
|
<% end -%>
|
||
|
|
</td>
|
||
|
|
<% end %>
|
||
|
|
</tr>
|