I’ve made a hack of the home page of the mobile version of tracks so that it more reflects the home page of the full web version.
When you go to the mobile home page my version lists the contexts and the number of actions in each, you can then navigate into those for the details. I prefer this to the current mobile “flat” view of all the actions.
For those that want to try it all you need to do is modify your _mobile_actions.rhtml:
1) Put this condition before the <ul>
<% if @context || @project -%>
2) Put this after the <% end -%> of the formatted_pagination part
<% else -%>
<ul>
<% for c in @contexts -%>
<% if not c.hidden? -%>
<li><%= link_to c.name, formatted_context_todos_path(c, :m) %> (<%= Todo.count(
:all,
:conditions => ['todos.user_id = ? and todos.state = ? and contexts.id = ? ', current_user.id, 'active', c.id],
:include => [ :project, :context ])
%>)</li>
<% end -%>
<% end -%>
</ul>
<% end -%>
Martin
