mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-22 00:36:12 +01:00
22 lines
1,018 B
Text
22 lines
1,018 B
Text
<%
|
|
suppress_context ||= false
|
|
suppress_project ||= false
|
|
suppress_dependencies ||= false
|
|
parameters = "_source_view=#{@source_view}"
|
|
parameters += "&_tag_name=#{@tag_name}" if @source_view == 'tag'
|
|
@z_index_counter = @z_index_counter - 1 # for IE z-index bug
|
|
%>
|
|
<div id="<%= dom_id(successor, 'successor') %>" class="item-container">
|
|
<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>
|
|
</div>
|
|
|