mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-21 17:50:13 +01:00
#300: Removing link tag from successor icon
This commit is contained in:
parent
407689780d
commit
fc9ffeaa4b
1 changed files with 4 additions and 5 deletions
|
|
@ -99,11 +99,10 @@ module TodosHelper
|
||||||
end
|
end
|
||||||
|
|
||||||
def successors_span
|
def successors_span
|
||||||
unless @todo.successors.empty?
|
unless @todo.pending_successors.empty?
|
||||||
successors_count = @todo.successors.length
|
pending_count = @todo.pending_successors.length
|
||||||
title = "Has #{pluralize(successors_count, 'pending action')}: #{@todo.successors.map(&:description).join(', ')}"
|
title = "Has #{pluralize(pending_count, 'pending action')}: #{@todo.pending_successors.map(&:description).join(', ')}"
|
||||||
link_to(image_tag( 'blank.png', :width=>'10', :height=>'16', :border=>'0' ),
|
image_tag( 'successor_off.png', :width=>'10', :height=>'16', :border=>'0', :title => title )
|
||||||
'#', {:class => 'show_successors', :title => title})
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue