tracks/app/views/todos/_mobile_actions.rhtml
tim madden e9277676b2 updates to tests for changes to mobile interface
Updated mobile_add_action.feature with new navigation text
  Updated modile_edit_a_todo.feature to not look for removed 'done' checkbox in
  the edit form, but to use the previously created "mark complete" button.
  Added completed_container to mobile_actions so the test could find the
  completed todo that is no longer not visible
2011-12-20 10:35:21 -06:00

13 lines
397 B
Text

<% if @not_done_todos.empty? -%>
<p><%= t('todos.no_incomplete_actions') %></p>
<% else -%>
<%= render :partial => "contexts/mobile_context", :collection => @contexts_to_show -%>
<% end -%>
<% unless @done.nil? -%>
<div id="completed_container">
<h2><%= t('todos.completed_actions') %></h2>
<ul class="c">
<%= render :partial => "todos/mobile_todo", :collection => @done %>
</ul>
</div>
<% end %>