source: WAeUP_SRP/trunk/skins/waeup_default/srp_view.pt @ 10121

Last change on this file since 10121 was 4305, checked in by Henrik Bettermann, 16 years ago

replace deprecated align attribute (right and center)

File size: 2.4 KB
RevLine 
[3607]1<metal:html>
2  <metal:body use-macro="here/main_template/macros/master">
3    <metal:main fill-slot="main">
4   
5      <span tal:condition="python: getattr(context.campus.documents,'srp_home_doc',None)">
6          <div tal:define="doc python: context.campus.documents.srp_home_doc.getContent()"
7               tal:content="structure python:doc.wdrender()" />
8      </span>     
9   
[3611]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            >
[3607]13     
14        <h2>Welcome to the     
[3985]15          <br /><span tal:replace="here/portal_properties/title" /> of the <span tal:replace="here/portal_properties/institution_title" /></h2>
[3607]16          <br />
17          You are logged in and viewing the portal's root folder. Please go to one of the sections above.   
18          <br /><br />
19         
[3611]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">
[3607]26         
[3611]27                You are registered lecturer of the following courses: <br /><br />
28               
29
30          <table>
31            <tr>
[4305]32            <th style='text-align:center'>Code</th>
33            <th style='text-align:center'>Title</th>
34            <th style='text-align:center'>Semester</th>
35            <th style='text-align:center'></th>
[3611]36            </tr>         
37            <tr tal:repeat="row info/courses"
38                tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')">
[4305]39              <td style='text-align:center' width="50pt"> <a href="" tal:attributes="href row/course_url"><span tal:content="row/id" /></a></td>     
[3611]40              <td width="400pt" tal:content="row/title"></td>
[4305]41              <td style='text-align:center' width="20pt"><span tal:content="row/semester" /></td>     
[3611]42              <td> <a href="" tal:attributes="href row/list_url">[list students] </a></td>
43            </tr>
44          </table>               
45               
46               
47         
48          </div>
[3607]49       </span>
50       
51    </metal:main>
52  </metal:body>
53</metal:html>
Note: See TracBrowser for help on using the repository browser.