%
@not_done = @not_done_todos.select {|t| t.context_id == context.id }
# invalidate the cache every day because of staleness or
# rendering of "due in x days" that change without touching updated at of the todo
cache [context, @source_view, current_user.date.strftime("%Y%m%d"), @tag_name] do
%>
">
<% if collapsible -%>
<%= image_tag("blank.png", :alt => t('common.collapse_expand')) %>
<% end -%>
<% if source_view_is :context %>
<%= context.name %>
<% else %>
<%= link_to_context( context ) %>
<% end %>
<%= t 'contexts.no_actions' %>
<%= render :partial => "todos/todo", :collection => @not_done, :locals => { :parent_container_type => "context" } %>
<% end %>