mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-05 00:38:50 +01:00
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:
parent
dd54b925a9
commit
c719eeb146
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue