% suppress_context ||= false suppress_project ||= false suppress_edit_button ||= todo.completed? parameters = "_source_view=#{@source_view}" parameters += "&_tag_name=#{@tag_name}" if @source_view == 'tag' @z_index_counter = @z_index_counter - 1 # for IE z-index bug @rec_depth=0 # to prevent stack overflow on large dependency trees, see _successor.html.erb # invalidate the cache every day because of staleness or # rendering of "due in x days" that change without touching updated at of the todo # also make different caches per source_view to handle difference in showing [C] and [P] cache [todo, current_user.date.strftime("%Y%m%d"), @source_view] do %>