Merge branch 'master' of git@github.com:bsag/tracks

This commit is contained in:
Reinier Balt 2008-10-14 10:57:57 +02:00
commit 1a2cdc7585
2 changed files with 17 additions and 5 deletions

View file

@ -281,7 +281,7 @@ module TodosHelper
end
def defer_link(days)
link_to_remote image_tag("defer_#{days}.png"), :url => {:controller => 'todos', :action => 'defer', :id => @todo.id, :days => days, :_source_view => (@source_view.underscore.gsub(/\s+/,'_') rescue "")}
link_to_remote image_tag("defer_#{days}.png", :alt => "Defer #{pluralize(days, 'day')}"), :url => {:controller => 'todos', :action => 'defer', :id => @todo.id, :days => days, :_source_view => (@source_view.underscore.gsub(/\s+/,'_') rescue "")}
end
end