Changeset 68 for waeup_product/trunk/skins/waeup_student
- Timestamp:
- 21 Oct 2005, 11:40:21 (19 years ago)
- Location:
- waeup_product/trunk/skins/waeup_student
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/skins/waeup_student/students_folder_view.py
r57 r68 9 9 member = context.portal_membership.getAuthenticatedMember() 10 10 if member: 11 if 'Student ' in member.getGroups():11 if 'Students' in member.getGroups(): 12 12 return context.students_folder_view_students(psm=psm,groups=groups) 13 if 'Student sManager' in member.getGroups():13 if 'StudentManager' in member.getGroups(): 14 14 return context.students_folder_view_manager(psm=psm,groups=groups) 15 15 return context.students_folder_view_anon(psm=psm,groups=groups) -
waeup_product/trunk/skins/waeup_student/students_folder_view_anon.pt
r57 r68 17 17 items here/contentValues" 18 18 > 19 <span tal:condition="python: mtool.isAnonymousUser()"> 20 Please login or <a href="" tal:attributes="href string:${context/absolute_url}/check_admission">check you Jambadmission</a>. 21 </span> 22 <span tal:condition="python: member and 'StudentManager' in member.getGroups()"> 23 <table cellspacing="0" cellpadding="0"> 24 <tal:block condition="python: len(items)"> 25 <tr tal:repeat="item items"> 26 <td colspan="1"> 27 <a href="student" tal:attributes="href item/absolute_url" tal:content="item/title_or_id"></a> 28 </td> 29 </tr> 30 </tal:block> 31 <tr tal:condition="python:not len(items)"> 32 <td> 33 no Students yet ! 34 </td> 35 </tr> 36 </table> 37 </span> 19 <a href="" tal:attributes="href string:${context/absolute_url}/admission_status">Admission List UME</a>.<br /> 20 <a href="" tal:attributes="href string:${context/absolute_url}/check_admission">Admission Request (JAMB) canditates only</a>. 38 21 </metal:block> 39 22 <metal:block fill-slot="sub">
Note: See TracChangeset for help on using the changeset viewer.