Changeset 1519 for WAeUP_SRP/trunk/skins
- Timestamp:
- 6 Mar 2007, 07:09:55 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/add_course_result.py
r1482 r1519 1 ## Script (Python) " folder_delete"1 ## Script (Python) "add_course_result" 2 2 ##bind container=container 3 3 ##bind context=context … … 10 10 # $Id$ 11 11 """ 12 add a course_result object.12 add a StudentCourseResult object 13 13 """ 14 14 from urllib import urlencode … … 23 23 while True: 24 24 if d['title'] == 'unknown': 25 err = " no such course"25 err = "No such course" 26 26 break 27 27 if context.hasObject(course_id): 28 err = " course already exists"28 err = "Course already exists" 29 29 break 30 30 if context.hasObject("%s_co" % course_id): 31 err = " course already exists as carryover"31 err = "Course already exists as carryover course" 32 32 break 33 33 break … … 38 38 url = "%s?%s" % (context.absolute_url(),urlencode(args)) 39 39 return request.RESPONSE.redirect(url) 40 ##cert_id = context.aq_parent.getContent().study_course 40 ##cert_id = context.aq_parent.getContent().study_course 41 41 ##res = context.portal_catalog(portal_type="Certificate", id = cert_id) 42 42 ##l = [] -
WAeUP_SRP/trunk/skins/waeup_student/study_level_view.pt
r1518 r1519 157 157 class="destructive" i18n:attributes="value" 158 158 tal:attributes="onclick python:'return window.confirm(\'%s\')' % 159 (' really delete checked courses', )"159 ('Do you really want to delete the courses selected?', )" 160 160 /> 161 161 <input tal:condition="python: review_state == 'school_fee_paid'"
Note: See TracChangeset for help on using the changeset viewer.