Changeset 17700
- Timestamp:
- 19 Feb 2024, 10:53:12 (10 months ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/locales/en/LC_MESSAGES/waeup.kofa.po
r17627 r17700 209 209 msgid "Custom Float 1 (not used)" 210 210 msgstr "Cutoff JAMB Score" 211 212 msgid "Update all course parameters including course titles." 213 msgstr "Update all course parameters including course titles but except passmark." -
main/waeup.aaue/trunk/src/waeup/aaue/students/studylevel.py
r17653 r17700 400 400 return 401 401 402 def updateCourseTicket(self, ticket, course): 403 """Updates a course ticket object and return code 404 if ticket has been invalidated. AAUE: Do not update passmark 405 """ 406 if not course: 407 if ticket.title.endswith('cancelled)'): 408 # Skip this tiket 409 return 410 # Invalidate course ticket 411 ticket.title += u' (course cancelled)' 412 ticket.credits = 0 413 ticket.passmark = 0 414 return ticket.code 415 ticket.code = course.code 416 ticket.title = course.title 417 ticket.fcode = course.__parent__.__parent__.__parent__.code 418 ticket.dcode = course.__parent__.__parent__.code 419 ticket.credits = course.credits 420 # ticket.passmark = course.passmark 421 ticket.semester = course.semester 422 return 423 402 424 CustomStudentStudyLevel = attrs_to_fields( 403 425 CustomStudentStudyLevel, omit=[
Note: See TracChangeset for help on using the changeset viewer.