Changeset 2027
- Timestamp:
- 17 Jul 2007, 10:30:56 (17 years ago)
- 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 25 25 old_ids = REQUEST['ids'] 26 26 new_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']] 28 28 29 29 here = context … … 41 41 data = {} 42 42 new_fid = new_ids[old_ids.index(faculty)] 43 data['faculty'] = new_fid 43 data['faculty'] = new_fid 44 44 for sid in student_ids: 45 45 data['id'] = sid … … 68 68 69 69 return REQUEST.RESPONSE.redirect(here.absolute_url() + \ 70 (' /academics_index?portal_status_message=%s' \70 ('?portal_status_message=%s' \ 71 71 % ('psm_item(s)_renamed',))) -
WAeUP_SRP/trunk/skins/waeup_default/id_rename_form.pt
r1724 r2027 3 3 <metal:header fill-slot="header"> 4 4 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 7 8 affect its title but changes the URL to access it. Links that point to the 8 current id won't find it anymore.</ div>9 current id won't find it anymore.</p> 9 10 10 11 </metal:header>
Note: See TracChangeset for help on using the changeset viewer.