Changeset 169
- Timestamp:
- 13 Nov 2005, 22:23:03 (19 years ago)
- Location:
- waeup_product/trunk
- Files:
-
- 2 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/Extensions/install.py
r166 r169 196 196 'action' : "python: portal.portal_url.getUrlFromRpath('sections/demouni/academics')", 197 197 #'action' : 'string:${portal_url}/academics', 198 'permission': ( View),198 'permission': (UniversityManage), 199 199 'category' : 'main_tabs', 200 200 'visible' : 1, … … 205 205 'action' : "python: portal.portal_url.getUrlFromRpath('sections/demouni/accommodation')", 206 206 #'action' : 'string:${portal_url}/accommodation', 207 'permissions': ( View),207 'permissions': (UniversityManage), 208 208 #'permissions': (ModifyPortalContent,UniversityManage,StudentManage), 209 209 'category' : 'main_tabs', … … 584 584 content.edit(mapping={'Title': heading}) 585 585 return '\n'.join(log) 586 587 ###) 588 586 587 ###) 588 -
waeup_product/trunk/skins/waeup_default/getWAeUPLayouts.py
r166 r169 791 791 }, 792 792 'layout': { 793 'style_prefix': 'layout_ default_',793 'style_prefix': 'layout_waeup_', 794 794 'flexible_widgets': (), 795 795 'ncols': 1, … … 1091 1091 }, 1092 1092 'layout': { 1093 'style_prefix': 'layout_ default_',1093 'style_prefix': 'layout_waeup_', 1094 1094 'flexible_widgets': (), 1095 1095 'ncols': 1, … … 1834 1834 }, 1835 1835 'layout': { 1836 'style_prefix': 'layout_ default_',1836 'style_prefix': 'layout_waeup_', 1837 1837 'flexible_widgets': (), 1838 1838 'ncols': 1, -
waeup_product/trunk/skins/waeup_default/getWAeUPTypes.py
r166 r169 95 95 'actions': ({'id': 'view', 96 96 'name': 'Standard View', 97 #'action': 'students_folder_view',98 97 'action': 'temporary_view_all', 99 #'condition': "python:member and 'Manager' in member.getRoles()",100 98 'permissions': (View,)}, 101 99 ## { … … 273 271 #'action': 'string:${object_url}/student_index_html', 274 272 'action': 'string:${object_url}/temporary_view_all', 275 'condition': 'python:object.getContent().memberIsOwner()',273 'condition': "python:object.getContent().memberIsOwner() or 'UniversityManager'in member.getRoles()", 276 274 'permission': (View,), 277 275 'category': 'object', … … 306 304 { 307 305 'id' : 'DOCUMENTS', 308 'name' : ' upload Documents',306 'name' : 'Upload Documents', 309 307 'action' : 'string:${object/absolute_url}/DOCUMENTS', 310 308 'condition': "python: object.getContent().memberIsOwner() and getattr(object,'PERSONAL',None)", … … 463 461 'actions': ( 464 462 {'id': 'view', 465 'name': ' View',463 'name': 'Standard View', 466 464 'action': 'string:${object_url}/temporary_view_all', 467 465 'permission': (View), -
waeup_product/trunk/skins/waeup_default/temporary_view_all.py
r167 r169 2 2 # $Id$ 3 3 4 """ Default view for the forum. If post_id is not None, post with id = <post_id>5 will be displayed, otherwise first post will be displayed."""4 """ 5 """ 6 6 7 7 member = context.portal_membership.getAuthenticatedMember() … … 13 13 #return context.temporary_view_all_form(psm=psm) 14 14 if context.portal_membership.isAnonymousUser(): 15 return context. temporary_view_all_form(psm=psm)15 return context.students.student_view_all_form(psm=psm) 16 16 else: 17 17 if url0.find(uname) > 0 or 'UniversityManager' in roles or 'Manager' in roles: … … 21 21 for r in res: 22 22 if r.getPath().endswith("students/%s" % uname): 23 return r.getObject(). temporary_view_all_form(psm=psm)24 return context. temporary_view_all_form(psm=psm)23 return r.getObject().student_view_student_form(psm=psm) 24 return context.students.student_view_all_form(psm=psm) -
waeup_product/trunk/skins/waeup_default/temporary_view_all_form.pt
r166 r169 39 39 <td> 40 40 <i> 41 <a href="xxx" tal:condition="backend"41 <a href="xxx" 42 42 tal:attributes="href item/absolute_url" 43 43 tal:content="item/title_or_id"></a> 44 <span tal:condition="frontend" tal:content="item/title_or_id"/>45 44 </i> 46 45 </td> -
waeup_product/trunk/skins/waeup_student/check_admission_form.pt
r164 r169 18 18 Instructions :<br /> 19 19 <ul> 20 <li>Enter the scratch card PIN for admission check </li> 21 <li>Print the Admission Slip which is displayed if you are admitted by the School </li> 22 <li>Buy a Clearance card </li> 20 <li>Buy an Admission Check Scratch Card </li> 21 <li>Enter the PIN here </li> 22 <li>Print the Admission Slip which is displayed if you are admitted by the Univesity</li> 23 <li>Buy a Clearance Scratch Card </li> 23 24 <li>Proceed to the Clearance Eligibility Online Form and fill your O/L details </li> 24 <li>Proceed to the School with all original documents for Clearance to finalize the clearance process </li>25 <li>Proceed to the Univesity with all original documents for clearance to finalize the clearance process </li> 25 26 </ul> 26 27 </metal:block> -
waeup_product/trunk/skins/waeup_student/clearence_form.pt
r164 r169 18 18 Instructions :<br /> 19 19 <ul> 20 <li>Buy a Clearance card </li>20 <li>Buy a Clearance Scratch Card </li> 21 21 <li>Enter the PIN here </li> 22 22 <li>Proceed to the Clearance Eligibility Online Form and fill your O/L details </li> 23 <li>Proceed to the School with all original documents for Clearance to finalize the clearance process</li>23 <li>Proceed to the Univesity with all original documents for clearance to finalize the clearance process</li> 24 24 </ul> 25 25 </metal:block>
Note: See TracChangeset for help on using the changeset viewer.