From 7e59b455f2e52bc8c32aef316a544768ffc85cf8 Mon Sep 17 00:00:00 2001 From: Reinier Balt Date: Thu, 5 Sep 2013 17:22:15 +0200 Subject: [PATCH] fix empty message in context view and handle removing last active todo from context correctly --- app/views/contexts/show.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/contexts/show.html.erb b/app/views/contexts/show.html.erb index fe44d124..86b653c6 100644 --- a/app/views/contexts/show.html.erb +++ b/app/views/contexts/show.html.erb @@ -6,9 +6,9 @@ -%>
- <%= empty_message_holder("not_done_project", @not_done_todos.empty?) %> + <%= empty_message_holder("not_done_context", @not_done_todos.empty?) %> - <%= show_grouped_todos({:collapsible => false, :show_empty_containers => show_empty_containers, :parent_container_type => 'context'}) %> + <%= show_grouped_todos({:collapsible => false, :show_empty_containers => false, :parent_container_type => 'context'}) %> <% if @group_view_by == 'project' -%> <%= show_todos_without_project(@todos_without_project, {:collapsible => false, :parent_container_type => 'context', :title_param => @context.name}) -%>