add behavior section headline to profile form
This commit is contained in:
parent
e4f37a1bcc
commit
2b61d8f180
@ -37,10 +37,11 @@ makeSettingForm template = identForm FIDsettings $ \html -> do
|
||||
<*> areq (selectField $ dateTimeFormatOptions SelFormatDateTime) (fslI MsgDateTimeFormat) (stgDateTime <$> template)
|
||||
<*> areq (selectField $ dateTimeFormatOptions SelFormatDate) (fslI MsgDateFormat) (stgDate <$> template)
|
||||
<*> areq (selectField $ dateTimeFormatOptions SelFormatTime) (fslI MsgTimeFormat) (stgTime <$> template)
|
||||
<* aformSection notificationSection
|
||||
<* aformSection behaviorSection
|
||||
<*> areq checkBoxField (fslI MsgDownloadFiles
|
||||
& setTooltip MsgDownloadFilesTip
|
||||
) (stgDownloadFiles <$> template)
|
||||
<* aformSection notificationSection
|
||||
<*> (NotificationSettings <$> funcForm nsForm (fslI MsgNotificationSettings) True)
|
||||
-- <$> aFormGroup "Cosmetics" cosmeticsForm
|
||||
-- <*> aFormGroup "Notifications" notificationsForm
|
||||
@ -49,6 +50,8 @@ makeSettingForm template = identForm FIDsettings $ \html -> do
|
||||
where
|
||||
cosmeticsSection :: Text
|
||||
cosmeticsSection = "Cosmetics"
|
||||
behaviorSection :: Text
|
||||
behaviorSection = "Behavior"
|
||||
notificationSection :: Text
|
||||
notificationSection = "Notifications"
|
||||
themeList = [Option (display t) t (toPathPiece t) | t <- universeF]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user