Changeset 2419
- Timestamp:
- 22 Oct 2007, 19:37:42 (17 years ago)
- Location:
- WAeUP_SRP/base/skins
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_student/remove_students_form.pt
r2402 r2419 2 2 students options/students; 3 3 info options/info|nothing; 4 is_so info/is_so;5 4 allowed options/allowed|nothing;" 6 5 > … … 76 75 <tr tal:condition="student" 77 76 tal:attributes="class python:test(repeat['student'].even(), 'even ajaxtd', 'odd ajaxtd')"> 78 <td align="left" valign="middle" style="width: 5px;" 79 tal:condition="is_so"> 77 <td align="left" valign="middle" style="width: 5px;"> 80 78 <input type="checkbox" name="ids:list" value="" id="" class="noborder" 81 79 tal:condition="student/show_checkbox" … … 104 102 <br /> 105 103 106 <div tal:condition="is_so">107 108 109 110 111 112 113 114 115 116 117 118 </div>104 105 <input type="button" value="button_select_all" class="context" 106 onclick="someJavaScriptFunctionThatWillBeReplaced" 107 i18n:attributes="value" 108 tal:attributes="onclick python:'toggleSelect(this, \'%s\', \'%s\')' 109 % (cpsmcat('button_select_all'), cpsmcat('button_deselect_all'))" 110 /> 111 <input type="submit" name="delete" value="Remove selected" 112 class="destructive" 113 tal:attributes="onclick python:'return window.confirm(\'%s\')' % 114 (cpsmcat('description_confirm_delete'), )" 115 /> 116 119 117 120 118 <tal:block condition="python:batch_info and batch_info['nb_pages'] > 1"> -
WAeUP_SRP/base/skins/waeup_utilities/removeImagesFromZODB.py
r2368 r2419 43 43 stool = context.portal_schemas 44 44 schemas = ['student_application', 45 'student_clearance',45 #'student_clearance', 46 46 ] 47 47 students_folder = context.portal_url.getPortalObject().campus.students … … 69 69 try: 70 70 doc.manage_delObjects(ids) 71 #logger.info("removed %s images " % (student.id))71 logger.info("removed %s images " % (student.id)) 72 72 except: 73 73 set_trace()
Note: See TracChangeset for help on using the changeset viewer.