Last change
on this file since 280 was
280,
checked in by joachim, 18 years ago
|
=renamed skins/waeup_faculty to academics
|
File size:
1.7 KB
|
Line | |
---|
1 | <html metal:use-macro="here/content_lib_master/macros/master"> |
---|
2 | <metal:block fill-slot="head_slot"> |
---|
3 | </metal:block> |
---|
4 | |
---|
5 | <metal:block fill-slot="css_slot"> |
---|
6 | <link rel="Stylesheet" type="text/css" href="" |
---|
7 | tal:attributes="href string:${base_url}document.css" /> |
---|
8 | </metal:block> |
---|
9 | <metal:block fill-slot="header"> |
---|
10 | </metal:block> |
---|
11 | |
---|
12 | <metal:block fill-slot="main" |
---|
13 | tal:define="roles member/getRoles; |
---|
14 | backend python:'UniversityManager' in roles or 'StudentManager' in roles; |
---|
15 | frontend python:'Student' in roles or isAnon; |
---|
16 | folder here/getContent; |
---|
17 | items python:context.filterContents(items=context.contentValues());" |
---|
18 | > |
---|
19 | <h1>Level <span tal:content="context/title_or_id" /></h1> |
---|
20 | |
---|
21 | <p>The courses for this level:</p> |
---|
22 | <tal:block condition="python: len(items)"> |
---|
23 | <table> |
---|
24 | <span tal:repeat="item items"> |
---|
25 | <span tal:define="courses python:item.filterContents(items=item.contentValues())"> |
---|
26 | <tr> |
---|
27 | <th> <span tal:content="item/id" tal:omit-tag="" /> Semester |
---|
28 | </th> |
---|
29 | </tr> |
---|
30 | <tr tal:repeat="course courses"> |
---|
31 | <td> <a href="coures" tal:content="course/id" tal:attributes="href course/coursepath"></a> |
---|
32 | </td> |
---|
33 | <td tal:content="course/Title"></td> |
---|
34 | <td tal:content="course/credits"></td> |
---|
35 | <td tal:content="course/passmark"></td> |
---|
36 | </tr> |
---|
37 | <tr> <td></td></tr> |
---|
38 | </span> |
---|
39 | </span> |
---|
40 | </table> |
---|
41 | </tal:block> |
---|
42 | |
---|
43 | <tal:block condition="python: not len(items)"> |
---|
44 | (No Courses yet!) |
---|
45 | </tal:block> |
---|
46 | |
---|
47 | </metal:block> |
---|
48 | <metal:block fill-slot="sub"> |
---|
49 | </metal:block> |
---|
50 | </html> |
---|
Note: See
TracBrowser for help on using the repository browser.