Changeset 883 for WAeUP_SRP/trunk/skins
- Timestamp:
- 17 Nov 2006, 08:18:52 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/co_searchStudents.py
r881 r883 165 165 info = context.getStudentInfo(item) 166 166 students.append(info) 167 return context.co_search_view(rendered = rend, 168 psm = "%d,%d matching Students found QS = %s" %\ 169 (len(review_set),len(search_set),query_step), 167 return context.students_co_view(rendered = rend, 168 psm = "", 169 #psm = "%d,%d matching Students found QS = %s" %\ 170 # (len(review_set),len(search_set),query_step), 170 171 #psm = "%d found QS = %s items: %s" % (len(items),query_step,items), 171 172 students = students, 172 173 is_manager = is_manager, 173 174 ) 174 return context. co_search_view(rendered = rend,175 return context.students_co_view(rendered = rend, 175 176 psm = """Step: %s found: %s Your search for "%s" in %s with state %s failed.<br\>%s""" % (query_step,len(items),st,what,state,bools), 176 177 students = students, -
WAeUP_SRP/trunk/skins/waeup_student/getStudentInfo.py
r867 r883 19 19 member = mtool.getAuthenticatedMember() 20 20 path_info = request.get('PATH_INFO').split('/') 21 roles = member.getRoles()22 21 23 22 info = {} … … 34 33 else: 35 34 student_id = student.getId() 35 roles = member.getRoles() 36 36 student_path = "%s/campus/students/%s" % (context.portal_url.getPortalPath(),student_id) 37 37 student = context.restrictedTraverse(student_path,default=None) -
WAeUP_SRP/trunk/skins/waeup_student/students_co_view.pt
r881 r883 64 64 <td><span tal:replace="python: student['app_doc'].jamb_reg_no" /></td> 65 65 <td><a href="id" 66 tal:attributes="href string:${student/student/clearance/absolute_url} "66 tal:attributes="href string:${student/student/clearance/absolute_url}/clearance_edit_form_manager" 67 67 tal:content="student/review_state"></a></td> 68 68 <td>
Note: See TracChangeset for help on using the changeset viewer.