Changeset 2649 for WAeUP_SRP/base
- Timestamp:
- 13 Nov 2007, 22:12:34 (17 years ago)
- Location:
- WAeUP_SRP/base/skins/waeup_student
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_student/course_registration_slip.pt
r2630 r2649 81 81 <span tal:repeat="sem python:('1','2')"> 82 82 83 <t h colspan="3" tal:content="python: test(sem == '1','First Semester', 'Second Semester')" />83 <tr><th colspan="3" tal:content="python: test(sem == '1','First Semester', 'Second Semester')" /></tr> 84 84 <tr tal:repeat="row python: test(sem == '1',info['normal1'],info['normal2'])" 85 85 tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> … … 120 120 121 121 </span> 122 123 122 <tr> 124 123 <td width="84%" colspan="2" align="right">Total Credits:</td> -
WAeUP_SRP/base/skins/waeup_student/getStudentLevelsVoc.py
r2647 r2649 19 19 voc += ("%s" % l,"%s (spillover)" % context.portal_vocabularies.levels.get("%d00" % (level_nr - 1))), 20 20 elif repeat > 0: 21 voc += ("%s" % l,"%s (on %d. probation)" % 21 voc += ("%s" % l,"%s (on %d. probation)" % 22 22 (context.portal_vocabularies.levels.get("%d00" % (level_nr)), 23 23 (repeat // 10))), 24 24 else: 25 voc += ("%s" % l,"%s" % 25 voc += ("%s" % l,"%s" % 26 26 (context.portal_vocabularies.levels.get("%d00" % (level_nr)))), 27 27 return voc 28 28 29 29 try: 30 30 ikey = int(key) … … 36 36 level = context.portal_vocabularies.levels.get("%d00" % level_nr) 37 37 if level_nr > end_level/100: 38 return "%s spillover" % context.portal_vocabularies.levels.get("%d00" % (level_nr - 1))38 return "%s Spillover" % context.portal_vocabularies.levels.get("%d00" % (level_nr - 1)) 39 39 40 40 if repeat > 0: 41 level += " on %d. probation" % (repeat // 10)41 level += " on %d. Probation" % (repeat // 10) 42 42 43 43 return level -
WAeUP_SRP/base/skins/waeup_student/getStudyLevelInfo.py
r2614 r2649 86 86 info['normal3'] = normal3 87 87 88 info['data_missing'] = not info['normal1'] and not info['normal2'] and not info['normal3'] 89 info['spillover'] = student.level > student.end_level 90 88 91 students_object = context.portal_url.getPortalObject().campus.students 89 92 student = getattr(students_object, student_id) -
WAeUP_SRP/base/skins/waeup_student/study_level_view.pt
r2640 r2649 67 67 </span> 68 68 <br /> 69 70 <div class="" tal:condition="python: info['data_missing'] and not info['spillover']"> 71 <font color="red">Your faculty has not yet provided the list of courses for your certificate. Please contact your faculty!</font> 72 <br /><br /> 73 </div> 74 75 <span tal:condition="not:info/data_missing" tal:omit-tag=""> 69 76 <h4>Session Courses</h4> 70 77 <br /> 71 <div class="" tal:condition="python: not (info['normal1'] or info['normal2'] or info['normal3'])"> 72 <font color="red">Your faculty has not yet provided the list of courses for your certificate. Please contact your faculty!</font> 73 <br /><br /> 74 </div> 78 75 79 <table class="contentListing" width="100%" id="folder_content"> 76 80 … … 140 144 </tr> 141 145 </table> 142 146 </span> 143 147 144 148
Note: See TracChangeset for help on using the changeset viewer.