Changeset 6804 for main/waeup.sirp/trunk/src/waeup
- Timestamp:
- 20 Sep 2011, 08:50:26 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/students
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/courseticketpage.pt
r6796 r6804 15 15 <tr> 16 16 <td class="fieldname"> 17 Department: 18 </td> 19 <td> 20 <span tal:replace="context/department">DEPARTMENT</span> 21 </td> 22 </tr> 23 <tr> 24 <td class="fieldname"> 17 25 Faculty: 18 26 </td> 19 27 <td> 20 28 <span tal:replace="context/faculty">FACULTY</span> 21 </td>22 </tr>23 <tr>24 <td class="fieldname">25 Department:26 </td>27 <td>28 <span tal:replace="context/department">DEPARTMENT</span>29 29 </td> 30 30 </tr> -
main/waeup.sirp/trunk/src/waeup/sirp/students/interfaces.py
r6802 r6804 194 194 title = u'Current Verdict', 195 195 source = verdicts, 196 default = None,196 default = '0', 197 197 required = False, 198 198 ) -
main/waeup.sirp/trunk/src/waeup/sirp/students/tests/test_browser.py
r6801 r6804 374 374 self.assertEqual(student['studycourse'].current_session, 2005) # +1 375 375 self.assertEqual(student['studycourse'].current_level, 200) # +100 376 self.assertEqual(student['studycourse'].current_verdict, ' ') # empty376 self.assertEqual(student['studycourse'].current_verdict, '0') # 0 = not set 377 377 self.assertEqual(student['studycourse'].previous_verdict, 'A') 378 378 self.browser.getControl(name="transition").value = ['register_courses'] -
main/waeup.sirp/trunk/src/waeup/sirp/students/utils.py
r6749 r6804 16 16 student['studycourse'].current_session += 1 17 17 verdict = student['studycourse'].current_verdict 18 student['studycourse'].current_verdict = ' '18 student['studycourse'].current_verdict = '0' 19 19 student['studycourse'].previous_verdict = verdict 20 20 return -
main/waeup.sirp/trunk/src/waeup/sirp/students/vocabularies.py
r6787 r6804 69 69 70 70 verdicts = SimpleWAeUPVocabulary( 71 (' Not set',''),71 ('not yet','0'), 72 72 ('Successful student','A'), 73 73 ('Student with carryover courses','B'),
Note: See TracChangeset for help on using the changeset viewer.