mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-19 23:46:10 +01:00
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
13 lines
397 B
Text
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 %>
|