Changeset 586 for WAeUP_SRP/trunk/skins/waeup_default
- Timestamp:
- 28 Sep 2006, 22:10:21 (18 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
r486 r586 17 17 new_ids = [id.upper() for id in REQUEST['new_ids']] 18 18 19 context.manage_renameObjects(REQUEST['ids'], new_ids, REQUEST) 19 here = context 20 if context.portal_type == "University": 21 here = context.academics 22 20 23 21 return REQUEST.RESPONSE.redirect(context.absolute_url() + \ 22 ('/academics_contents?portal_status_message=%s' \ 24 here.manage_renameObjects(REQUEST['ids'], new_ids, REQUEST) 25 26 return REQUEST.RESPONSE.redirect(here.absolute_url() + \ 27 ('/academics_index?portal_status_message=%s' \ 23 28 % ('psm_item(s)_renamed',))) -
WAeUP_SRP/trunk/skins/waeup_default/id_rename_form.pt
r486 r586 12 12 <metal:main fill-slot="main"> 13 13 14 <div class="group" tal:condition=" here/folder_rename_items" >14 <div class="group" tal:condition="context/academics_rename_items" > 15 15 <form action="folder_rename" method="post" 16 16 tal:attributes="action string:${here_url}/id_rename"> 17 17 18 18 <table width="90%"> 19 <tr tal:repeat="item here/folder_rename_items">19 <tr tal:repeat="item context/academics_rename_items"> 20 20 <td align="left" valign="top" width="20%" nowrap="nowrap"> 21 21 <span tal:replace="structure item/iconHTML">Type Image</span>
Note: See TracChangeset for help on using the changeset viewer.