Changeset 3611 for WAeUP_SRP/base/skins
- Timestamp:
- 6 Aug 2008, 14:25:17 (16 years ago)
- Location:
- WAeUP_SRP/base/skins
- Files:
-
- 4 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_default/srp_view.pt
r3607 r3611 8 8 </span> 9 9 10 <span tal:condition="python: not getattr(context.campus.documents,'srp_home_doc',None)"> 10 <span tal:condition="python: not getattr(context.campus.documents,'srp_home_doc',None)" 11 tal:define="groups python: context.portal_membership.getAuthenticatedMember().getGroups()" 12 > 11 13 12 14 <h2>Welcome to the … … 16 18 <br /><br /> 17 19 18 <span tal:define="ca_view python: 'CourseAdvisers' in context.portal_membership.getAuthenticatedMember().getGroups()" 19 tal:condition="ca_view">The first-time access to the students section (Students tab above) my take some time. Your local roles are being determined.</span> 20 <span tal:condition="python: 'CourseAdvisers' in groups"> 21 The first-time access to the students section (Students tab above) my take some time. Your local roles are being determined. 22 </span> 23 24 <div tal:condition="python: 'Lecturers' in groups" 25 tal:define="info context/getLecturerCoursesInfo"> 20 26 27 You are registered lecturer of the following courses: <br /><br /> 28 29 30 <table> 31 <tr> 32 <th align='center'>Code</th> 33 <th align='center'>Title</th> 34 <th align='center'>Semester</th> 35 <th align='center'></th> 36 </tr> 37 <tr tal:repeat="row info/courses" 38 tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> 39 <td align="center" width="50pt"> <a href="" tal:attributes="href row/course_url"><span tal:content="row/id" /></a></td> 40 <td width="400pt" tal:content="row/title"></td> 41 <td align="center" width="20pt"><span tal:content="row/semester" /></td> 42 <td> <a href="" tal:attributes="href row/list_url">[list students] </a></td> 43 </tr> 44 </table> 45 46 47 48 </div> 21 49 </span> 22 50 -
WAeUP_SRP/base/skins/waeup_design/index_html.py
r1785 r3611 19 19 if pm.isAnonymousUser(): 20 20 return redirect("%s/srp_anonymous_view" % request.get('URL1')) 21 # return redirect("http://uniben.edu/index.php") 22 21 23 elif context.isStudent(): 22 24 return redirect("%s/srp_anonymous_view" % context.absolute_url()) 23 25 else: 24 26 return redirect("%s/srp_view" % context.absolute_url()) 25 27 28
Note: See TracChangeset for help on using the changeset viewer.