<% @todo = mobile_todo if mobile_todo.starred? bullet = ""+image_tag("menustar_small.gif")+"" li_class = " class=\"star\"" else bullet = "» " li_class = "" end -%>
  • ><%= bullet %><% if mobile_todo.completed? -%> <% else -%> <% end -%> <%= date_span -%> <%= link_to mobile_todo.description, todo_path(mobile_todo, :format => 'm') -%> <% if mobile_todo.notes? %> <%= link_to(image_tag("mobile_notes.png", :border => "0"), mobile_todo_show_notes_path(mobile_todo, :format => 'm')) -%> <% end %> <% if parent_container_type == 'context' or parent_container_type == 'tag' -%> <%= " (" + link_to(mobile_todo.project.name, project_path(mobile_todo.project, :format => 'm')) + ")" unless mobile_todo.project.nil? -%> <% end if parent_container_type == 'project' or parent_container_type == 'tag' -%> <%= " (" + link_to(mobile_todo.context.name, context_path(mobile_todo.context, :format => 'm')) + ")" -%> <% end -%> <%= tag_list_mobile -%>