the tickler notification message was not getting shown when the periodical execute activated an action. Fixed.

git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@379 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
lukemelia 2006-12-17 08:35:54 +00:00
parent dd54b925a9
commit c719eeb146

View file

@ -1,3 +1,4 @@
unless @due_tickles.empty?
page.replace_html "info", content_tag("div", "#{@due_tickles.length.to_s} tickler items are now due - refresh the page to see them.", "class" => "warning")
#TODO: why not just add the new items here in addition to notifying?
page.notify :notice, "#{@due_tickles.length} tickler items are now due - refresh the page to see them.", 5.0
end