Changeset 1853 for WAeUP_SRP/trunk/skins
- Timestamp:
- 4 Jun 2007, 10:23:30 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_pins/search_pins.py
r1797 r1853 60 60 item['pin'] = pin 61 61 else: 62 if str(member) in (' henrik','joachim'):62 if str(member) in ('admin','joachim'): 63 63 item['pin'] = "%s" % (pin,) 64 64 else: 65 65 item['pin'] = "%s%s****%s" % (i.prefix_batch,pin[-10:-7],pin[-3:]) 66 if len(sno)==10 :66 if len(sno)==10 or '/' in sno: 67 67 #res = context.portal_catalog(SearchableText=sno,portal_type='StudentApplication') 68 68 res = context.students_catalog(jamb_reg_no=sno.upper()) … … 71 71 item['student_url'] = None 72 72 else: 73 item['student_url'] = "%s/campus/students/%s " % (context.portal_url(),res[0].id)73 item['student_url'] = "%s/campus/students/%s/application" % (context.portal_url(),res[0].id) 74 74 item['student_id'] = res[0].id 75 75 else: … … 146 146 info['used'] = set_used_pins(items,from_cat=True) 147 147 148 149 148 149 150 150 return view(rendered = rend, 151 151 psm = psm, -
WAeUP_SRP/trunk/skins/waeup_student/clearance_edit.py
r1839 r1853 1 ## Script (Python) "clearance_edit"1 z## Script (Python) "clearance_edit" 2 2 ##bind container=container 3 3 ##bind context=context -
WAeUP_SRP/trunk/skins/waeup_student/delete_course_result.py
r1613 r1853 5 5 ##bind script=script 6 6 ##bind subpath=traverse_subpath 7 ##parameters=ids=[], REQUEST=None, action_after_reject=None, action_after_validate= None7 ##parameters=ids=[], REQUEST=None, action_after_reject=None, action_after_validate='' 8 8 ##title= 9 9 ## -
WAeUP_SRP/trunk/skins/waeup_student/validate_courses.py
r1612 r1853 5 5 ##bind script=script 6 6 ##bind subpath=traverse_subpath 7 ##parameters=student=None, action_after_reject=None, action_after_validate= None7 ##parameters=student=None, action_after_reject=None, action_after_validate='' 8 8 ##title= 9 9 ##
Note: See TracChangeset for help on using the changeset viewer.