css << " idnt idnt-#{level}" if level > 0
buttons =
if manage_relations
- link_to(l(:label_delete_link_to_subtask),
- issue_path(
- {:id => child.id, :issue => {:parent_issue_id => ''},
- :back_url => issue_path(issue.id), :no_flash => '1'}),
- :method => :put,
- :data => {:confirm => l(:text_are_you_sure)},
- :title => l(:label_delete_link_to_subtask),
- :class => 'icon-only icon-link-break'
- )
+ link_to(
+ l(:label_delete_link_to_subtask),
+ issue_path(
+ {:id => child.id, :issue => {:parent_issue_id => ''},
+ :back_url => issue_path(issue.id), :no_flash => '1'}
+ ),
+ :method => :put,
+ :data => {:confirm => l(:text_are_you_sure)},
+ :title => l(:label_delete_link_to_subtask),
+ :class => 'icon-only icon-link-break'
+ )
else
"".html_safe
end