Changeset 2419 for WAeUP_SRP/base


Ignore:
Timestamp:
22 Oct 2007, 19:37:42 (17 years ago)
Author:
Henrik Bettermann
Message:

remove all passport pictures from ZODB

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  
    22           students options/students;
    33           info options/info|nothing;
    4            is_so info/is_so;
    54           allowed options/allowed|nothing;"
    65           >
     
    7675                  <tr tal:condition="student"
    7776                      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;">
    8078                      <input type="checkbox" name="ids:list" value="" id="" class="noborder"
    8179                             tal:condition="student/show_checkbox"
     
    104102            <br />
    105103
    106             <div tal:condition="is_so">
    107               <input type="button" value="button_select_all" class="context"
    108                      onclick="someJavaScriptFunctionThatWillBeReplaced"
    109                      i18n:attributes="value"
    110                      tal:attributes="onclick python:'toggleSelect(this, \'%s\', \'%s\')'
    111                      % (cpsmcat('button_select_all'), cpsmcat('button_deselect_all'))"
    112                      />
    113               <input type="submit" name="delete" value="Remove selected"
    114                      class="destructive"
    115                      tal:attributes="onclick python:'return window.confirm(\'%s\')' %
    116                      (cpsmcat('description_confirm_delete'), )"
    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           
    119117
    120118            <tal:block condition="python:batch_info and batch_info['nb_pages'] > 1">
  • WAeUP_SRP/base/skins/waeup_utilities/removeImagesFromZODB.py

    r2368 r2419  
    4343stool = context.portal_schemas
    4444schemas = ['student_application',
    45            'student_clearance',
     45           #'student_clearance',
    4646          ]
    4747students_folder = context.portal_url.getPortalObject().campus.students
     
    6969        try:
    7070            doc.manage_delObjects(ids)
    71             #logger.info("removed %s images " % (student.id))
     71            logger.info("removed %s images " % (student.id))
    7272        except:
    7373            set_trace()
Note: See TracChangeset for help on using the changeset viewer.