Changeset 430 for WAeUP_SRP/trunk
- Timestamp:
- 26 Aug 2006, 14:47:10 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_academics/academics_content_lib_info_detail_tab.pt
r403 r430 119 119 120 120 121 <td tal:condition="python:id_in_tabs and display_buttons ">121 <td tal:condition="python:id_in_tabs and display_buttons and context.portal_type not in ('Certificate',)"> 122 122 <span tal:content="info/id">ID</span> 123 123 </td> … … 125 125 <span tal:content="info/type">ID</span> 126 126 </td> 127 <span tal:condition="python: context.portal_type == 'CoursesFolder'"> 128 <td> 129 <span tal:content="info/semester">ID</span> 130 </td> 131 <td> 132 <span tal:content="info/credits">ID</span> 133 </td> 134 <td> 135 <span tal:content="info/passmark">ID</span> 136 </td> 137 </span> 138 <span tal:condition="python: context.portal_type == 'Semester'"> 139 <td> 140 <span tal:content="info/core_or_elective">ID</span> 141 </td> 142 </span> 127 143 <td align="left" tal:define="isManager python:checkPerm('Modify portal content', item)"> 128 <a tal:condition="python: display_buttons and isManager "144 <a tal:condition="python: display_buttons and isManager and context.portal_type not in ('Certificate',)" 129 145 href="dummy" tal:attributes="href string:${item/absolute_url}/cpsdocument_edit_form">[edit]</a></td> 130 146 <td align="center" tal:condition="size_in_tabs"> -
WAeUP_SRP/trunk/skins/waeup_academics/academics_contents.pt
r387 r430 92 92 tal:attributes="onclick python:'return window.confirm(\'%s\')' % 93 93 (cpsmcat('description_confirm_delete'), )" /> 94 <input tal:condition="python: context.portal_type not in ('Semester', )"94 <input tal:condition="python: context.portal_type not in ('Semester','Certificate')" 95 95 type="submit" name="id_rename_form:method" 96 96 class="context" value="Change Object ID" i18n:attributes="value" /> -
WAeUP_SRP/trunk/skins/waeup_custom/getContentInfo.py
r361 r430 220 220 if doc is None: 221 221 doc = proxy.getContent() 222 if doc.portal_type == 'Course': 223 info['credits'] = doc.credits 224 info['semester'] = doc.semester 225 info['passmark'] = doc.passmark 226 elif doc.portal_type == 'CertificateCourse': 227 core = 'core' 228 if not doc.core_or_elective: 229 core = elective 230 info['core_or_elective'] = core 222 231 info['time'] = doc.modified() 223 232 info['doc'] = doc … … 233 242 except: 234 243 size = 0 235 236 244 if size and size < 1024: 237 245 info['size'] = '1 K'
Note: See TracChangeset for help on using the changeset viewer.