public
Description: Tracks is a GTD(TM) web application, built with Ruby on Rails
Homepage: http://www.rousette.org.uk/projects/
Clone URL: git://github.com/bsag/tracks.git
Click here to lend your support to: tracks and make a donation at www.pledgie.com !
Informative alt text for defer buttons
epall (author)
Sat Oct 04 10:44:38 -0700 2008
commit  51b0a2bd9bc3dd310e39ea3e7265850dc83b9570
tree    79a360810cb4faaf7330c31ddc72138c13c6dba5
parent  24c2b57b4af66176b218f24394421cf4bf8b73f7
...
281
282
283
284
 
285
286
287
...
281
282
283
 
284
285
286
287
0
@@ -281,7 +281,7 @@ module TodosHelper
0
   end  
0
   
0
   def defer_link(days)
0
-    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 "")}
0
+    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 "")}
0
   end
0
 
0
 end

Comments