Changeset 587
- Timestamp:
- 28 Sep 2006, 22:32:26 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/default/layouts/student_search.xml
r584 r587 4 4 <property name="layout_edit_method"></property> 5 5 <property name="layout_view_method"></property> 6 <property name="style_prefix">layout_ application_</property>6 <property name="style_prefix">layout_search_</property> 7 7 <property name="flexible_widgets"/> 8 8 <property name="validate_values_expr"></property> -
WAeUP_SRP/trunk/profiles/default/vocabularies/search_mode_voc.xml
r584 r587 9 9 <item key="matric_no" msgid="">Matriculation Number</item> 10 10 <item key="jamb_id" msgid="">Jamb Id</item> 11 <item key="review_state" msgid="">Review State</item> 11 12 </object> -
WAeUP_SRP/trunk/skins/waeup_student/searchStudents.py
r584 r587 32 32 default = {'search_mode': 'name', 33 33 'review_state': 'admission_applied ', 34 'search_string': ' yy'34 'search_string': '' 35 35 } 36 36 … … 55 55 if state == " ----- ": 56 56 state = '' 57 if not term and what in ('student_edit','jamb_id','name','matric_no'): 58 return context.students_manager_view(rendered = rend, 59 psm = "You must specify a search string", 60 #psm = "%s, %s" % (psm,ds), 61 students = items, 62 is_manager = is_manager, 63 ) 57 64 onlyreview = state and what == "review_state" 58 65 items = [] … … 64 71 elif what == "student_id": 65 72 res = catalog(portal_type='Student', 66 id = student_id.strip())73 id = term.strip()) 67 74 elif what == "jamb_id": 68 75 res = catalog(portal_type='StudentApplication',
Note: See TracChangeset for help on using the changeset viewer.