Changeset 160
- Timestamp:
- 6 Nov 2005, 15:07:41 (19 years ago)
- Location:
- waeup_product/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/Extensions/install.py
r152 r160 185 185 'id' : 'student_administration', 186 186 'name' : 'Students', 187 'action' : 'string:${portal_url}/students',187 'action' : "python: portal.portal_url.getUrlFromRpath('sections/demouni/students')", 188 188 #'action' : 'string:$portal_url%(path)s/students' % vars(), 189 189 'permission': (View, ), … … 194 194 'id' : 'Academics', 195 195 'name' : 'Academics', 196 #'action' : 'string:$portal_url%(path)s/academics' % vars(), 197 #'action' : 'string:${portal_url}/sections/unidemo', 198 'action' : 'string:${portal_url}/academics', 196 'action' : "python: portal.portal_url.getUrlFromRpath('sections/demouni/academics')", 197 #'action' : 'string:${portal_url}/academics', 199 198 'permission': (View ), 200 199 'category' : 'main_tabs', … … 204 203 'id' : 'accomodation', 205 204 'name' : 'Accommodation', 206 #'action' : 'string:$portal_url%(path)s/accommodation' % vars(), 207 #'action' : 'string:${portal_url}/sections/waeup/accommodation/accommodation_index_html', 208 'action' : 'string:${portal_url}/accommodation', 205 'action' : "python: portal.portal_url.getUrlFromRpath('sections/demouni/accommodation')", 206 #'action' : 'string:${portal_url}/accommodation', 209 207 'permissions': (View), 210 208 #'permissions': (ModifyPortalContent,UniversityManage,StudentManage), -
waeup_product/trunk/skins/waeup_default/temporary_view_all.pt
r159 r160 44 44 <td> 45 45 <i> 46 <a href="xxx" tal:condition="python: getattr(item,'id',None)"46 <a href="xxx" tal:condition="python: checkPerm('View',item)" 47 47 tal:attributes="href item/absolute_url" 48 tal:content="item/title_or_id"></a></i> 49 <span tal:condition="python: not getattr(item,'id',None)" tal:content="item/title_or_id"/> 48 tal:content="item/title_or_id"></a> 49 <span tal:condition="python: not checkPerm('View',item)" tal:content="item/title_or_id"/> 50 </i> 50 51 </td> 51 52 </tr>
Note: See TracChangeset for help on using the changeset viewer.