Changeset 371 for WAeUP_SRP/trunk/skins
- Timestamp:
- 15 Aug 2006, 09:25:33 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_academics/academics_contents.pt
r370 r371 86 86 tal:attributes="onclick python:'return window.confirm(\'%s\')' % 87 87 (cpsmcat('description_confirm_delete'), )" /> 88 <input type="submit" name="id_rename_form:method" 89 class="context" value="button_rename" i18n:attributes="value" /> 88 <input tal:condition="python: context.portal_type not in ('Semester',)" 89 type="submit" name="id_rename_form:method" 90 class="context" value="Change Object ID" i18n:attributes="value" /> 90 91 </span> 91 92 </span> -
WAeUP_SRP/trunk/skins/waeup_academics/academics_contents_display_buttons.py
r370 r371 14 14 15 15 #if context.portal_type in ('Department','Certificate','StudyLevel'): 16 if context.portal_type in ('Department','StudyLevel' ):16 if context.portal_type in ('Department','StudyLevel',): 17 17 return None 18 18 return 1 -
WAeUP_SRP/trunk/skins/waeup_default/id_rename.py
r370 r371 9 9 REQUEST = context.REQUEST 10 10 11 if context.portal_type in ('CoursesFolder',): 12 return REQUEST.RESPONSE.redirect(context.absolute_url() + \ 13 ('/academics_contents?portal_status_message=%s' \ 14 % ('Courses cannot be renamed',))) 15 11 16 new_ids = REQUEST['new_ids'] 12 17 new_ids = [id.upper() for id in REQUEST['new_ids']]
Note: See TracChangeset for help on using the changeset viewer.