Changeset 370 for WAeUP_SRP/trunk/skins
- Timestamp:
- 14 Aug 2006, 22:02:18 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 3 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_academics/academics_contents.pt
r353 r370 48 48 <span tal:define="redirect python: response.redirect(url)"></span> 49 49 </div> 50 <span tal:omit-tag="" tal:condition=" not: display_buttons"50 <span tal:omit-tag="" tal:condition="python:display_buttons or (context.portal_type in ('Certificate',))" 51 51 tal:content="structure doc/render" /> 52 52 … … 69 69 <td align="left" valign="top" rowspan="3"></td> 70 70 <td align="left" valign="top"> 71 <span tal:condition="display_buttons" 71 <span tal:condition="display_buttons"> 72 72 <span tal:condition="can_del"> 73 73 <input type="button" value="button_select_all" class="context" … … 76 76 tal:attributes="onclick python:'toggleSelect(this, \'%s\', \'%s\')' 77 77 % (cpsmcat('button_select_all'), cpsmcat('button_deselect_all'))" /> 78 <input type="submit" name="approve_checked:method" 78 <span tal:omit-tag="" tal:condition="python: context.portal_type != 'Certificate'"> 79 <input type="submit" name="approve_checked:method" 79 80 class="context" value="Approve" /> 80 81 <input type="submit" name="retract_checked:method" 81 82 class="context" value="Retract" /> 82 <input type="submit" name="folder_delete:method" value="button_delete" 83 </span> 84 <input type="submit" name="folder_delete:method" value="button_delete" 83 85 class="destructive" i18n:attributes="value" 84 86 tal:attributes="onclick python:'return window.confirm(\'%s\')' % 85 87 (cpsmcat('description_confirm_delete'), )" /> 88 <input type="submit" name="id_rename_form:method" 89 class="context" value="button_rename" i18n:attributes="value" /> 86 90 </span> 87 91 </span> -
WAeUP_SRP/trunk/skins/waeup_academics/academics_contents_display_buttons.py
r332 r370 13 13 """ 14 14 15 if context.portal_type in ('Department','Certificate','StudyLevel'): 15 #if context.portal_type in ('Department','Certificate','StudyLevel'): 16 if context.portal_type in ('Department','StudyLevel'): 16 17 return None 17 18 return 1
Note: See TracChangeset for help on using the changeset viewer.