mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-03 15:58:50 +01:00
#300: Added mockup remove successor icon after description
This commit is contained in:
parent
0fbed3e00e
commit
4f69683f9b
1 changed files with 5 additions and 0 deletions
|
|
@ -10,6 +10,11 @@ parameters += "&_tag_name=#{@tag_name}" if @source_view == 'tag'
|
|||
<div id="<%= dom_id(successor, 'successor_line') %>">
|
||||
<div class="description<%= staleness_class( successor ) %>" style="margin-left: 20px">
|
||||
<span class="todo.descr"><%= h sanitize(successor.description) %></span>
|
||||
<a class="remove_successor" style="background: transparent;"
|
||||
href="#"
|
||||
title="remove the successor '<%= successor.description %>'"><%= image_tag( "blank.png",
|
||||
:title => "Remove the successor",
|
||||
:class=>"delete_item") %></a>
|
||||
<%= render(:partial => "todos/toggle_successors", :locals => { :item => successor, :suppress_button => true }) unless successor.pending_successors.empty? %>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue