+ | <%= check_box( "item", "done", "onclick" => "document.location.href='/todo/toggle_check/#{@item.id}'" ) %> |
+ <%= link_to( $edit_img, { :action => "edit", :id => @item.id }, :title => "Edit item" ) + " " + link_to($delete_img, { :action => "destroy", :id => @item.id }, :title => "Delete item", :confirm => "Are you sure you want to delete this entry: #{@item.description}" ) + " " %> |
+ <%= due_date( @item.due ) %>
<%= @item.description %>
<% if @item.project_id %>
<%= link_to( "[P]", { :controller => "project", :action => "show", :id => @item.project_id }, :title => "View project: #{@item.project['name']}" ) %>
<% end %>
-
-
- <% m_notes = markdown( @item.notes ) %>
+ <%= "" + $notes_img + "" %>
+ <% m_notes = markdown( @item.notes ) %>
<%= " " + m_notes + " " %>
- <% else %>
-
<% end %>
-
\ No newline at end of file
+ |
+
\ No newline at end of file
diff --git a/tracks/app/views/todo/completed.rhtml b/tracks/app/views/todo/completed.rhtml
index 0a2d4ca1..581ac05e 100644
--- a/tracks/app/views/todo/completed.rhtml
+++ b/tracks/app/views/todo/completed.rhtml
@@ -2,9 +2,9 @@