move display of transfer scan in progress to transfers section of dashboard

This way it's only visible when transfers are not running, which is about
what a user would expect.
This commit is contained in:
Joey Hess 2013-03-19 12:51:22 -04:00
parent a30768cf7f
commit bb284cd980
5 changed files with 30 additions and 21 deletions

View file

@ -240,13 +240,6 @@ commitAlert = activityAlert Nothing
showRemotes :: [Remote] -> TenseChunk
showRemotes = UnTensed . T.intercalate ", " . map (T.pack . Remote.name)
scanAlert :: Alert
scanAlert = baseActivityAlert
{ alertHeader = Just $
tenseWords [Tensed "Scanning" "Scanned", "for file transfers"]
, alertPriority = Low
}
syncAlert :: [Remote] -> Alert
syncAlert rs = baseActivityAlert
{ alertName = Just SyncAlert