mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +01:00
12 lines
No EOL
462 B
Text
12 lines
No EOL
462 B
Text
if @saved
|
|
if @remaining == 0
|
|
page.show 'recurring-todos-empty-nd'
|
|
end
|
|
page.notify :notice, "The recurring action was deleted succesfully. " +
|
|
"The recurrence pattern is removed from " +
|
|
pluralize(@number_of_todos, "todo"), 5.0
|
|
page[@recurring_todo].remove
|
|
page.visual_effect :fade, dom_id(@recurring_todo), :duration => 0.4
|
|
else
|
|
page.notify :error, "There was an error deleting the recurring todo #{@recurring_todo.description}", 8.0
|
|
end |