Ignore:
Timestamp:
17 Jul 2007, 10:30:56 (17 years ago)
Author:
Henrik Bettermann
Message:

make rename applicable to WAeUPDocument

Location:
WAeUP_SRP/trunk/skins/waeup_default
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_default/id_rename.py

    r1724 r2027  
    2525old_ids = REQUEST['ids']
    2626new_ids = REQUEST['new_ids']
    27 new_ids = [id.upper() for id in REQUEST['new_ids']]
     27#new_ids = [id.upper() for id in REQUEST['new_ids']]
    2828
    2929here = context
     
    4141        data = {}
    4242        new_fid = new_ids[old_ids.index(faculty)]
    43         data['faculty'] = new_fid 
     43        data['faculty'] = new_fid
    4444        for sid in student_ids:
    4545            data['id'] = sid
     
    6868
    6969return REQUEST.RESPONSE.redirect(here.absolute_url() + \
    70                                 ('/academics_index?portal_status_message=%s' \
     70                                ('?portal_status_message=%s' \
    7171                                % ('psm_item(s)_renamed',)))
  • WAeUP_SRP/trunk/skins/waeup_default/id_rename_form.pt

    r1724 r2027  
    33<metal:header fill-slot="header">
    44
    5 <h1 i18n:translate="heading_rename_items">Rename Items</h1>
    6 <div class="description" i18n:translate="help_rename_items">Changing the id of an object does not
     5<h3 i18n:translate="heading_rename_items">Rename Items</h3>
     6
     7<p class="description" i18n:translate="help_rename_items">Changing the id of an object does not
    78affect its title but changes the URL to access it. Links that point to the
    8 current id won't find it anymore.</div>
     9current id won't find it anymore.</p>
    910
    1011</metal:header>
Note: See TracChangeset for help on using the changeset viewer.