Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exam status does not match up with documentation in the backend #19

Open
LukasRuppert opened this issue Mar 22, 2023 · 0 comments
Open
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@LukasRuppert
Copy link
Contributor

(and the exam description field does not show up for students at all)

https://github.com/infomark-org/infomark/blob/c9371fd38ab3731fd847f3da2be43bb60418716c/migration/data/2_materials_exams.up.sql#L27

  -- 0 unkown, 1 failed, 2 passed
  status INT null,

case enrollment.status of
0 ->
div []
[ viewExamDetails sharedState e
, rRow <|
[ text "Sie haben nicht an dieser Klausur teilgenommen."
]
]
1 ->
div []
[ viewExamDetails sharedState e
, rRow <|
[ text "Sie haben mit der Note '"
, span
[ classes [ TC.b ] ]
[ text enrollment.mark
]
, text "' bestanden. Eventuelle Boni sind bereits mit eingerechnet."
]
, rRow <|
[ span [ classes [ TC.f7 ] ]
[ text "Die Angabe zur Note ist ohne Gewähr und nur zu Ihrer Information. Es gilt die ans Prüfungssekretariat gemeldete Note."
]
]
]
2 ->
div []
[ viewExamDetails sharedState e
, rRow <|
[ text "Sie sind mit der Note '"
, span
[ classes [ TC.b ] ]
[ text enrollment.mark
]
, text "' durchgefallen."
, rRow <|
[ span [ classes [ TC.f7 ] ]
[ text "Die Angabe zur Note ist ohne Gewähr und nur zu Ihrer Information. Es gilt die ans Prüfungssekretariat gemeldete Note."
]
]
]
]
_ ->

@LukasRuppert LukasRuppert added invalid This doesn't seem right bug Something isn't working documentation Improvements or additions to documentation and removed invalid This doesn't seem right labels Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant