Merge pull request #116 from zoombody/mobile-checkboxes

Render task-complete checkbox for mobile
This commit is contained in:
Matt Rogers 2012-10-25 18:54:36 -07:00
commit 678cd5ca01
3 changed files with 4 additions and 4 deletions

View file

@ -3,7 +3,7 @@
<h4 id="flash" class="alert" style="display:none"></h4>
<% else -%>
<% flash.each do |key,value| -%>
<h4 id="flash" class='alert <%= key %>'><%= value %></h4>
<h4 id="flash" class='alert <%= key %>'><%= value.html_safe %></h4>
<% end -%>
<% end -%>
</div>
</div>

View file

@ -4,5 +4,5 @@
<a href="mailto:tracksapp@googlegroups.com?subject=Tracks feedback"><%= t('common.email')%></a> |
<a href="http://www.getontracks.org/"><%= t('common.website')%></a> |
<a href="http://getontracks.org/development"><%= t('common.contribute')%></a></p>
<a href="/m"><%= t('layouts.navigation.mobile')%></a>
<%= link_to(t('layouts.navigation.mobile'), todos_path(:format => 'm')) %>
</div>

View file

@ -1,6 +1,6 @@
<% @todo = todo -%>
<li id="<%= dom_id(todo) %>" >
<% remote_mobile_checkbox(todo) %>
<%= remote_mobile_checkbox(todo) %>
<%= date_span -%> <%= link_to todo.description, todo_path(todo, :format => 'm') -%>
<% unless todo.notes.blank? %>
<%= link_to(image_tag("mobile_notes.png", :border => "0"), show_notes_todo_path(todo, :format => 'm')) -%>