Changeset 454 for WAeUP_SRP/trunk/skins/waeup_academics
- Timestamp:
- 31 Aug 2006, 10:37:54 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_academics
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_academics/academics_content_lib_info_detail_tab.pt
r452 r454 119 119 <span tal:content="info/type">ID</span> 120 120 </td> 121 <span tal:condition="python: context.portal_type == 'CoursesFolder'">121 <span tal:condition="python: info['doc'].portal_type == 'Course'"> 122 122 <td> 123 123 <span tal:content="info/semester">ID</span> … … 128 128 <td> 129 129 <span tal:content="info/passmark">ID</span> 130 </td> 131 </span> 132 <span tal:define="docu python: info['doc']" 133 tal:condition="python: docu.portal_type == 'CourseTicket'"> 134 <td> 135 <span tal:content="docu/grade">ID</span> 136 </td> 137 <td> 138 <span tal:content="docu/score">ID</span> 139 </td> 140 </span> 141 <span tal:define="docu python: info['doc']" 142 tal:condition="python: docu.portal_type == 'Student'"> 143 <td> 144 <span tal:content="info/clearance/matric_no">ID</span> 130 145 </td> 131 146 </span> -
WAeUP_SRP/trunk/skins/waeup_academics/academics_contents.pt
r435 r454 42 42 <span tal:define="redirect python: response.redirect(url)"></span> 43 43 </div> 44 <span tal:omit-tag="" tal:condition="python:display_buttons or (context.portal_type in ('Certificate','Department'))"44 <span tal:omit-tag="" tal:condition="python:display_buttons or context.display_content()" 45 45 tal:content="structure doc/render" /> 46 46 -
WAeUP_SRP/trunk/skins/waeup_academics/academics_contents_display_buttons.py
r371 r454 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', 17 'StudyLevel', 18 'Student', 19 'StudentAdmission', 20 'StudentClearance', 21 'StudentPersonal', 22 'StudentStudyCourse', 23 'StudentStudyLevel', 24 ): 17 25 return None 18 26 return 1
Note: See TracChangeset for help on using the changeset viewer.