display alert in webapp when assistant shuts down

and remove any activity alerts
This commit is contained in:
Joey Hess 2013-04-10 17:52:04 -04:00
parent d8f8aa6921
commit b40e8fc5da
2 changed files with 10 additions and 0 deletions

View file

@ -81,6 +81,11 @@ startupScanAlert :: Alert
startupScanAlert = activityAlert Nothing
[Tensed "Performing" "Performed", "startup scan"]
{- Displayed when a shutdown is occurring, so will be seen after shutdown
- has happened. -}
shutdownAlert :: Alert
shutdownAlert = warningAlert "shutdown" "git-annex has been shut down"
commitAlert :: Alert
commitAlert = activityAlert Nothing
[Tensed "Committing" "Committed", "changes to git"]