diff --git a/tracks/app/views/contexts/_mobile_context.rhtml b/tracks/app/views/contexts/_mobile_context.rhtml
index f6a2a268..6510aeb4 100644
--- a/tracks/app/views/contexts/_mobile_context.rhtml
+++ b/tracks/app/views/contexts/_mobile_context.rhtml
@@ -4,11 +4,11 @@
if not @not_done.empty?
# only show a context when there are actions in it
- %>
-
<%=mobile_context.name%>
-
- <%= render :partial => "todos/mobile_todo",
- :collection => @not_done,
- :locals => { :parent_container_type => "context" }%>
-
+ -%>
+<%=mobile_context.name%>
+
+<%= render :partial => "todos/mobile_todo",
+ :collection => @not_done,
+ :locals => { :parent_container_type => "context" }-%>
+
<% end -%>
\ No newline at end of file
diff --git a/tracks/app/views/layouts/mobile.m.erb b/tracks/app/views/layouts/mobile.m.erb
index 7902bd05..1be4d590 100644
--- a/tracks/app/views/layouts/mobile.m.erb
+++ b/tracks/app/views/layouts/mobile.m.erb
@@ -1,37 +1,32 @@
-
-
-
- <%= stylesheet_link_tag "mobile" %>
- <%= @page_title %>
-
-
- <% if !(@new_mobile || @edit_mobile)
- if !@prefs.nil? %>
- <%= @down_count %> <%=
- user_time.strftime(@prefs.title_date_format) %>
- <%= (link_to("Add new action", formatted_new_todo_path(:m))+" | ") unless @new_mobile -%>
- <%= (link_to("Home", formatted_todos_path(:m))+" | ") unless @home -%>
- <%= (link_to("Contexts", formatted_contexts_path(:m))+" | ") %>
- <%= (link_to("Projects", formatted_projects_path(:m))+" | ") %>
- <%= (link_to("Starred", {:action => "tag", :controller => "todos", :id => "starred.m"})) -%>
- <% end
- end %>
- <%= render_flash -%>
-
- <%= yield %>
-
- <% if !@prefs.nil? %>
- <%= link_to "Logout", formatted_logout_path(:format => 'm') %> |
- <%= (link_to("Add new action", formatted_new_todo_path(:m))+" | ") unless @new_mobile -%>
- <%= (link_to("Home", formatted_todos_path(:m))+" | ") unless @home -%>
- <%= (link_to("Contexts", formatted_contexts_path(:m))+" | ") %>
- <%= (link_to("Projects", formatted_projects_path(:m))+" | ") %>
- <%= (link_to("Starred", {:action => "tag", :controller => "todos", :id => "starred.m"})+" | ") -%>
- <%= (link_to("Tickler", {:action => "index", :controller => "tickler.m"})+" | ") -%>
- <%= (link_to("Feeds", {:action => "index", :controller => "feeds.m"})) %>
- <% end %>
- <%= render :partial => "shared/mobile_footer" %>
-
-
+
+
+
+<%= stylesheet_link_tag "mobile"%>
+<%= @page_title %>
+
+<% if !(@new_mobile || @edit_mobile)
+ if !@prefs.nil? -%>
+<%= @down_count %> <%=
+ user_time.strftime(@prefs.title_date_format) -%>
+<%= (link_to("Add new action", formatted_new_todo_path(:m))+" | ") unless @new_mobile -%>
+<%= (link_to("Home", formatted_todos_path(:m))+" | ") unless @home -%>
+<%= (link_to("Contexts", formatted_contexts_path(:m))+" | ") -%>
+<%= (link_to("Projects", formatted_projects_path(:m))+" | ") -%>
+<%= (link_to("Starred", {:action => "tag", :controller => "todos", :id => "starred.m"})) -%>
+<% end
+ end -%><%= render_flash -%>
+
<%= yield -%>
+
<% if !@prefs.nil? -%>
+<%= (link_to("Logout", formatted_logout_path(:format => 'm')) +" | ") -%>
+<%= (link_to("Add new action", formatted_new_todo_path(:m))+" | ") unless @new_mobile -%>
+<%= (link_to("Home", formatted_todos_path(:m))+" | ") unless @home -%>
+<%= (link_to("Contexts", formatted_contexts_path(:m))+" | ") -%>
+<%= (link_to("Projects", formatted_projects_path(:m))+" | ") -%>
+<%= (link_to("Starred", {:action => "tag", :controller => "todos", :id => "starred.m"})+" | ") -%>
+<%= (link_to("Tickler", {:action => "index", :controller => "tickler.m"})+" | ") -%>
+<%= (link_to("Feeds", {:action => "index", :controller => "feeds.m"})) -%>
+<% end -%>
+<%= render :partial => "shared/mobile_footer" -%>
+