refactor(exam registration): visually distinct de-/registration
users only see a green box but dont read it hence a different alert class is used now
This commit is contained in:
parent
63f6d01619
commit
5f4925a4cc
@ -1032,7 +1032,7 @@ postERegisterR tid ssh csh examn = do
|
|||||||
runDB $ do
|
runDB $ do
|
||||||
deleteBy $ UniqueExamRegistration eId uid
|
deleteBy $ UniqueExamRegistration eId uid
|
||||||
audit' $ TransactionExamDeregister (unTermKey tid) (unSchoolKey ssh) csh examn userIdent
|
audit' $ TransactionExamDeregister (unTermKey tid) (unSchoolKey ssh) csh examn userIdent
|
||||||
addMessageI Success $ MsgExamDeregisteredSuccess examn
|
addMessageI Info $ MsgExamDeregisteredSuccess examn -- yes, it's a success message, but it should be visually different from a positive success, since most will just note the positive green color! Maybe make it even a warning?!
|
||||||
redirect $ CExamR tid ssh csh examn EShowR
|
redirect $ CExamR tid ssh csh examn EShowR
|
||||||
|
|
||||||
invalidArgs ["Register/Deregister button required"]
|
invalidArgs ["Register/Deregister button required"]
|
||||||
|
|||||||
Reference in New Issue
Block a user