mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-23 23:54:07 +01:00
Only show defer buttons for uncompleted todos.
This commit is contained in:
parent
ab28b22cbf
commit
1b179e10c6
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@
|
|||
<%= remote_star_icon %>
|
||||
<%= remote_toggle_checkbox unless source_view_is :deferred %>
|
||||
<div class="description<%= staleness_class( todo ) %>">
|
||||
<span class="defer-container"><%= defer_link(1) %> <%= defer_link(7) %></span>
|
||||
<% unless @todo.completed? %><span class="defer-container"><%= defer_link(1) %> <%= defer_link(7) %></span><% end %>
|
||||
<%= date_span -%>
|
||||
<span class="todo.descr"><%= h sanitize(todo.description) %></span>
|
||||
<%= link_to(image_tag("recurring16x16.png"), {:controller => "recurring_todos", :action => "index"}, :class => "recurring_icon") if @todo.from_recurring_todo? %>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue