mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-16 14:15:28 +01:00
Mostly completed transition to full i18n Incorporated german translations by Ulf Klose <ulf.klose@gmail.com>
26 lines
1.2 KiB
Text
26 lines
1.2 KiB
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>
|
|
|
|
<%= link_to_remote(
|
|
image_tag("blank.png", :title => t('todos.remove_dependency'), :align => "absmiddle", :class => "delete_item"),
|
|
{:url => {:controller => 'todos', :action => 'remove_predecessor', :id => successor.id},
|
|
:method => 'delete',
|
|
:with => "'#{parameters}&predecessor=#{predecessor.id}'",
|
|
:before => successor_start_waiting_js(successor)},
|
|
{:style => "background: transparent;"}) %>
|
|
|
|
<%= render(:partial => "todos/toggle_successors", :locals => { :item => successor, :suppress_button => true }) unless successor.pending_successors.empty? %>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|