mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-25 19:48:48 +01:00
Merge pull request #116 from zoombody/mobile-checkboxes
Render task-complete checkbox for mobile
This commit is contained in:
commit
678cd5ca01
3 changed files with 4 additions and 4 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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')) -%>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue