make old activiy alerts stay visible
They're updated to show whether the activity succeeded or failed. This adds several TODOs to the code to fix later.
This commit is contained in:
parent
ec0493fa4d
commit
3dce75fb23
8 changed files with 85 additions and 30 deletions
|
@ -232,7 +232,7 @@ sideBarDisplay noScript = do
|
|||
(alertHeader alert)
|
||||
$ case alertMessage alert of
|
||||
StringAlert s -> [whamlet|#{s}|]
|
||||
WidgetAlert w -> w
|
||||
WidgetAlert w -> w alert
|
||||
|
||||
rendermessage msg = addalert "yesodmessage" True False
|
||||
"alert-info" Nothing [whamlet|#{msg}|]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue