Changeset 96 for waeup_product/trunk/skins/waeup_faculty
- Timestamp:
- 27 Oct 2005, 06:51:08 (19 years ago)
- Location:
- waeup_product/trunk/skins/waeup_faculty
- Files:
-
- 1 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/skins/waeup_faculty/course_index_html.py
r91 r96 5 5 """Default view for the Student.""" 6 6 member = context.portal_membership.getAuthenticatedMember() 7 if not context.portal_membership.isAnonymousUser :7 if not context.portal_membership.isAnonymousUser(): 8 8 roles = member.getRoles() 9 9 if 'Manager' in roles: -
waeup_product/trunk/skins/waeup_faculty/department_index_html.py
r91 r96 1 ##parameters=p ost_id=None, REQUEST=None1 ##parameters=psm=None, REQUEST=None 2 2 3 3 # $Id$ … … 5 5 """Default view for a Faculty.""" 6 6 member = context.portal_membership.getAuthenticatedMember() 7 if not context.portal_membership.isAnonymousUser :7 if not context.portal_membership.isAnonymousUser(): 8 8 roles = member.getRoles() 9 9 if 'Manager' in roles: -
waeup_product/trunk/skins/waeup_faculty/department_index_html.py~
r91 r96 1 ##parameters=p ost_id=None, REQUEST=None1 ##parameters=psm=None, REQUEST=None 2 2 3 # $Id: department_index_html.py 89 2005-10-26 11:54:25Z joachim $3 # $Id: department_index_html.py 91 2005-10-26 12:30:11Z joachim $ 4 4 5 5 """Default view for a Faculty.""" 6 6 member = context.portal_membership.getAuthenticatedMember() 7 if member:7 if not context.portal_membership.isAnonymousUser(): 8 8 roles = member.getRoles() 9 9 if 'Manager' in roles: -
waeup_product/trunk/skins/waeup_faculty/department_view_manager.pt
r80 r96 14 14 15 15 <metal:block fill-slot="main" 16 tal:define=" student_folderhere/getContent;16 tal:define="department here/getContent; 17 17 items here/contentValues" 18 18 > 19 <span> 19 <span> 20 <h2 tal:content="department/title_or_id"></h2> 21 <p tal:content="department/Description"> 22 </p> 23 <br /> 24 20 25 <table cellspacing="0" cellpadding="0"> 21 26 <tal:block condition="python: len(items)"> … … 28 33 <tr tal:condition="python:not len(items)"> 29 34 <td> 30 no thingyet !35 no courses yet ! 31 36 </td> 32 37 </tr> -
waeup_product/trunk/skins/waeup_faculty/faculty_index_html.py
r91 r96 1 ##parameters=p ost_id=None, REQUEST=None1 ##parameters=psm=None, REQUEST=None 2 2 3 3 # $Id$ … … 6 6 member = context.portal_membership.getAuthenticatedMember() 7 7 8 member = context.portal_membership.getAuthenticatedMember() 9 if not context.portal_membership.isAnonymousUser: 8 if not context.portal_membership.isAnonymousUser(): 10 9 roles = member.getRoles() 11 10 if 'Manager' in roles: -
waeup_product/trunk/skins/waeup_faculty/faculty_view_manager.pt
r80 r96 14 14 15 15 <metal:block fill-slot="main" 16 tal:define=" student_folderhere/getContent;16 tal:define="faculty here/getContent; 17 17 items here/contentValues" 18 18 > 19 <h2 tal:content="faculty/title_or_id"></h2> 20 <p tal:content="faculty/Description"></p> 19 21 <span> 20 22 <table cellspacing="0" cellpadding="0">
Note: See TracChangeset for help on using the changeset viewer.