Changeset 1789 for WAeUP_SRP/trunk/skins
- Timestamp:
- 16 May 2007, 12:39:40 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_custom/logged_in.py
r1781 r1789 74 74 logger.info('%s logged in, review_state %s' % (member,s_review_state)) 75 75 app_doc = student_app.getContent() 76 76 77 77 if request.has_key('returning'): 78 78 email=request.get("email") 79 phone=request.get("phone_nr") 79 phone=request.get("phone_nr") 80 80 # should be always closed, however ... 81 81 if a_review_state != 'opened': 82 82 wftool.doActionFor(student_app,'open') 83 83 # should be always opened after import, however ... 84 if p_review_state != 'opened': 84 if p_review_state != 'opened': 85 85 wftool.doActionFor(student_per,'open') 86 86 per_doc = student_per.getContent() … … 88 88 per_doc.edit(mapping = {'email' : email, 'phone' : phone}) 89 89 wftool.doActionFor(student_app,'close') 90 90 91 91 #from Products.zdb import set_trace;set_trace() 92 if load_passport and 'passport' not in app_doc.objectIds():92 if s_review_state == 'returning' and load_passport and 'passport' not in app_doc.objectIds(): 93 93 msg = context.waeup_tool.loadStudentFoto(student) 94 94 logger.info('%s, %s' % (member,msg)) 95 if s_review_state in ("student_created","admitted") and\95 elif s_review_state in ("student_created","admitted") and\ 96 96 a_review_state == 'created' : 97 97 wftool.doActionFor(student_app,'open') -
WAeUP_SRP/trunk/skins/waeup_student/study_level_view.pt
r1783 r1789 112 112 ('Do you really want to delete selected courses?', )" 113 113 /> 114 <input t ype="submit" name="refresh_level:method"114 <input tal:condition="python: 0" type="submit" name="refresh_level:method" 115 115 class="context" value="Update" 116 116 /> … … 127 127 <br /><br /> 128 128 129 <span tal:condition="python: 0"> 129 130 <strong>Note:</strong> 'Update' checks for all courses in your certificate and will add them to your course list irrespective of 130 131 prior deletion, i.e. already deleted courses will show up again. 131 132 132 Please use this function only if you are sure that your faculty has added courses which are not yet on your course list. 133 </span> 134 <span tal:condition="python: 1"> 135 <strong>Note:</strong> The 'Update' function has been temporarily disabled. 136 </span> 133 137 134 138 </td>
Note: See TracChangeset for help on using the changeset viewer.