Changeset 5144
- Timestamp:
- 13 Apr 2010, 07:27:13 (15 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_ois/academic_report_view.pt
r4397 r5144 3 3 tal:define="info context/getStudyLevelInfo; 4 4 contact_student_form string:contact_student_form; 5 study_level_view string:study_level_view;">5 academic_report_view string:academic_report_view;"> 6 6 <metal:block define-macro="edit_form"> 7 7 … … 119 119 <td style='text-align:center' tal:content="row/exam"></td> 120 120 <td style='text-align:center' tal:content="row/score_calc"></td> 121 <td style='text-align:center' tal:content="row/ grade"></td>121 <td style='text-align:center' tal:content="row/session_id"></td> 122 122 <td style='text-align:center' tal:content="row/pic"></td> 123 123 … … 173 173 174 174 <input type="hidden" name="action_after_validate" type="text" id="action_after_validate" 175 tal:attributes="value study_level_view"/>175 tal:attributes="value academic_report_view"/> 176 176 177 177 <br /><br /> … … 217 217 218 218 <input type="hidden" name="action_after_validate" type="text" id="action_after_validate" 219 tal:attributes="value study_level_view"/>219 tal:attributes="value academic_report_view"/> 220 220 <input type="hidden" name="action_after_reject" type="text" id="action_after_reject" 221 221 tal:attributes="value contact_student_form"/> … … 254 254 255 255 <input type="hidden" name="action_after_validate" type="text" id="action_after_validate" 256 tal:attributes="value study_level_view"/>256 tal:attributes="value academic_report_view"/> 257 257 <input type="hidden" name="action_after_reject" type="text" id="action_after_reject" 258 258 tal:attributes="value contact_student_form"/> … … 277 277 /> 278 278 <input type="hidden" name="action_after_validate" type="text" id="action_after_validate" 279 tal:attributes="value study_level_view"/>279 tal:attributes="value academic_report_view"/> 280 280 </td> 281 281 </table> -
WAeUP_SRP/trunk/skins/waeup_student/refresh_level.py
r3074 r5144 45 45 level = context 46 46 level_id = context.getId() 47 session_id = context.getLevelSession(level.getContent(),student_id,level_id) 47 48 res = context.portal_catalog(portal_type="Certificate", id = cert_id) 48 49 query = Eq('student_id',student_id) & Eq('level_id', level_id) … … 73 74 d['student_id'] = student_id 74 75 d['level_id'] = level_id 76 d['session_id'] = session_id 75 77 d['key'] = "%s|%s|%s" % (student_id,level_id,course_id) 76 78 records.append(d) … … 79 81 80 82 #session.set('in_progress','finished') 81 logger.info('%s updated course list' % member)83 logger.info('%s updated level %s of %s' % (member,level_id,student_id)) 82 84 83 85 args = {}
Note: See TracChangeset for help on using the changeset viewer.