source: main/kofacustom.ekodisco/branches/0.1/src/kofacustom/ekodisco/students/browser_templates/studycoursepage.pt @ 14395

Last change on this file since 14395 was 10804, checked in by Henrik Bettermann, 11 years ago

Start interpreting students as customers.

File size: 1.4 KB
Line 
1<table class="form-table" i18n:domain="waeup.kofa">
2  <thead>
3  </thead>
4  <tbody>
5    <tal:block repeat="widget view/widgets">
6      <tr>
7        <td class="fieldname">
8          <span tal:content="widget/label">label</span>:
9        </td>
10        <td tal:on-error="default">
11          <div tal:content="structure widget">
12            <input type="text" />
13          </div>
14        </td>
15      </tr>
16    </tal:block>
17      <tr tal:condition="python: view.department is not None">
18        <td i18n:translate="">
19            Department:
20        </td>
21        <td>
22          <a tal:attributes="href python: view.url(view.department)"
23               tal:content="view/department/longtitle">
24            DEPARTMENT
25          </a>
26        </td>
27      </tr>
28      <tr tal:condition="python: view.faculty is not None">
29        <td i18n:translate="">
30            Faculty:
31        </td>
32        <td>
33          <a tal:attributes="href python: view.url(view.faculty)"
34               tal:content="view/faculty/longtitle">
35            FACULTY
36          </a>
37        </td>
38      </tr>
39      <tr tal:condition="view/prev_studycourses">
40        <td i18n:translate="">
41            Previous Study Courses:
42        </td>
43        <td>
44          <span tal:repeat="value view/prev_studycourses">
45            <a tal:attributes="href value/href" tal:content="value/title">
46              FACULTY
47            </a>
48          </span>
49        </td>
50      </tr>
51  </tbody>
52</table>
Note: See TracBrowser for help on using the repository browser.