Convenience for AuthPreds
This commit is contained in:
parent
fbfa4bdff2
commit
26cc12127b
@ -592,6 +592,7 @@ MenuSheetClone: Als neues Übungsblatt klonen
|
|||||||
MenuCorrectionsUpload: Korrekturen hochladen
|
MenuCorrectionsUpload: Korrekturen hochladen
|
||||||
MenuCorrectionsCreate: Abgaben registrieren
|
MenuCorrectionsCreate: Abgaben registrieren
|
||||||
MenuCorrectionsGrade: Abgaben bewerten
|
MenuCorrectionsGrade: Abgaben bewerten
|
||||||
|
MenuAuthPreds: Authorisierungseinstellungen
|
||||||
|
|
||||||
AuthPredsActive: Aktive Authorisierungsprädikate
|
AuthPredsActive: Aktive Authorisierungsprädikate
|
||||||
AuthPredsActiveChanged: Authorisierungseinstellungen für aktuelle Sitzung gespeichert
|
AuthPredsActiveChanged: Authorisierungseinstellungen für aktuelle Sitzung gespeichert
|
||||||
|
|||||||
@ -1206,6 +1206,14 @@ pageActions (ProfileR) =
|
|||||||
, menuItemModal = False
|
, menuItemModal = False
|
||||||
, menuItemAccessCallback' = return True
|
, menuItemAccessCallback' = return True
|
||||||
}
|
}
|
||||||
|
-- , MenuItem
|
||||||
|
-- { menuItemType = PageActionSecondary
|
||||||
|
-- , menuItemLabel = MsgMenuAuthPreds
|
||||||
|
-- , menuItemIcon = Nothing
|
||||||
|
-- , menuItemRoute = SomeRoute AuthPredsR
|
||||||
|
-- , menuItemModal = True
|
||||||
|
-- , menuItemAccessCallback' = return True
|
||||||
|
-- }
|
||||||
]
|
]
|
||||||
pageActions TermShowR =
|
pageActions TermShowR =
|
||||||
[ MenuItem
|
[ MenuItem
|
||||||
|
|||||||
@ -268,7 +268,8 @@ postAuthPredsR = do
|
|||||||
|
|
||||||
((authActiveRes, authActiveWidget), authActiveEnctype) <- runFormPost . renderAForm FormStandard
|
((authActiveRes, authActiveWidget), authActiveEnctype) <- runFormPost . renderAForm FormStandard
|
||||||
$ AuthTagActive
|
$ AuthTagActive
|
||||||
<$> funcForm taForm (fslI MsgActiveAuthTags) True
|
<$> (submitButton -- for convenience, avoids frequent scrolling
|
||||||
|
*> funcForm taForm (fslI MsgActiveAuthTags) True)
|
||||||
<* submitButton
|
<* submitButton
|
||||||
|
|
||||||
mReferer <- runMaybeT $ do
|
mReferer <- runMaybeT $ do
|
||||||
|
|||||||
Reference in New Issue
Block a user