tracks/app/views/todos/_mobile_actions.rhtml
Tim Madden eaa4a46359 theming mobile layout to mirror standard layout styling
the span with class m_t and m_t_d and its styling are no longer needed
  mobile todo lists need to be wrapped in ul element. fixing up missing or unclosed
2011-12-19 21:14:38 -06:00

11 lines
359 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? -%>
<h2><%= t('todos.completed_actions') %></h2>
<ul class="c">
<%= render :partial => "todos/mobile_todo", :collection => @done %>
</ul>
<% end %>