UX Hilfe Online Korrektur
This commit is contained in:
parent
4a17a33b85
commit
0cc1d7689f
@ -7,6 +7,7 @@ BtnRegister: Anmelden
|
|||||||
BtnDeregister: Abmelden
|
BtnDeregister: Abmelden
|
||||||
BtnHijack: Sitzung übernehmen
|
BtnHijack: Sitzung übernehmen
|
||||||
BtnSave: Speichern
|
BtnSave: Speichern
|
||||||
|
PressSaveToSave: Änderungen werden erst durch Drücken des Knopfes "Speichern" gespeichert.
|
||||||
BtnCandidatesInfer: Studienfachzuordnung automatisch lernen
|
BtnCandidatesInfer: Studienfachzuordnung automatisch lernen
|
||||||
BtnCandidatesDeleteConflicts: Konflikte löschen
|
BtnCandidatesDeleteConflicts: Konflikte löschen
|
||||||
BtnCandidatesDeleteAll: Alle Beobachtungen löschen
|
BtnCandidatesDeleteAll: Alle Beobachtungen löschen
|
||||||
@ -16,6 +17,8 @@ BtnLecInvDecline: Ablehnen
|
|||||||
BtnCorrInvAccept: Annehmen
|
BtnCorrInvAccept: Annehmen
|
||||||
BtnCorrInvDecline: Ablehnen
|
BtnCorrInvDecline: Ablehnen
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Aborted: Abgebrochen
|
Aborted: Abgebrochen
|
||||||
Remarks: Hinweise
|
Remarks: Hinweise
|
||||||
Registered: Angemeldet
|
Registered: Angemeldet
|
||||||
|
|||||||
@ -617,7 +617,7 @@ postCorrectionR tid ssh csh shn cid = do
|
|||||||
<$> areq checkBoxField (fslI MsgRatingDone) (Just $ submissionRatingDone Submission{..})
|
<$> areq checkBoxField (fslI MsgRatingDone) (Just $ submissionRatingDone Submission{..})
|
||||||
<*> pointsForm
|
<*> pointsForm
|
||||||
<*> (((\t -> t <$ guard (not $ null t)) =<<) . fmap (Text.strip . unTextarea) <$> aopt textareaField (fslI MsgRatingComment) (Just $ Textarea <$> submissionRatingComment))
|
<*> (((\t -> t <$ guard (not $ null t)) =<<) . fmap (Text.strip . unTextarea) <$> aopt textareaField (fslI MsgRatingComment) (Just $ Textarea <$> submissionRatingComment))
|
||||||
let corrForm = wrapForm corrForm' def
|
let corrForm = wrapForm' BtnSave corrForm' def
|
||||||
{ formAction = Just . SomeRoute $ CSubmissionR tid ssh csh shn cid CorrectionR
|
{ formAction = Just . SomeRoute $ CSubmissionR tid ssh csh shn cid CorrectionR
|
||||||
, formEncoding = corrEncoding
|
, formEncoding = corrEncoding
|
||||||
}
|
}
|
||||||
@ -948,9 +948,10 @@ postSAssignR tid ssh csh shn cID = do
|
|||||||
]
|
]
|
||||||
addMessageI Success MsgCorrectorUpdated
|
addMessageI Success MsgCorrectorUpdated
|
||||||
redirect actionUrl
|
redirect actionUrl
|
||||||
let corrForm = wrapForm corrForm' def
|
let corrForm = wrapForm' BtnSave corrForm' def
|
||||||
{ formAction = Just $ SomeRoute actionUrl
|
{ formAction = Just $ SomeRoute actionUrl
|
||||||
, formEncoding = corrEncoding
|
, formEncoding = corrEncoding
|
||||||
|
, formSubmit = FormDualSubmit
|
||||||
}
|
}
|
||||||
defaultLayout $ do
|
defaultLayout $ do
|
||||||
setTitleI MsgCorrectorAssignTitle
|
setTitleI MsgCorrectorAssignTitle
|
||||||
|
|||||||
@ -1 +1,3 @@
|
|||||||
|
<p>
|
||||||
|
_{MsgPressSaveToSave}
|
||||||
^{corrForm}
|
^{corrForm}
|
||||||
|
|||||||
Reference in New Issue
Block a user