add ui for changing state of context to closed. This fixes #645

This commit is contained in:
Reinier Balt 2013-03-01 16:20:15 +01:00
parent acab98d4c7
commit 4df340bd7b
12 changed files with 114 additions and 86 deletions

View file

@ -1,6 +1,7 @@
<div id="display_box">
<%= render :partial => 'context_state_group', :object => @active_contexts, :locals => { :state => 'active', :no_contexts => @no_active_contexts} %>
<%= render :partial => 'context_state_group', :object => @hidden_contexts, :locals => { :state => 'hidden', :no_contexts => @no_hidden_contexts} %>
<%= render :partial => 'context_state_group', :object => @closed_contexts, :locals => { :state => 'closed', :no_contexts => @no_closed_contexts} %>
</div>
<div id="input_box">