1 | <metal:html tal:define="info context/getStudentInfo; |
---|
2 | is_manager info/is_manager|nothing;"> |
---|
3 | <metal:body use-macro="here/main_template/macros/master"> |
---|
4 | <metal:main fill-slot="main"> |
---|
5 | <span tal:condition="not: info"> |
---|
6 | <metal:block use-macro="here/error_not_found/macros/not_found" /> |
---|
7 | </span> |
---|
8 | <span tal:condition="info" |
---|
9 | tal:define="review_state info/review_state; |
---|
10 | rows python: info['items']"> |
---|
11 | |
---|
12 | <h3>My Study Data</h3> |
---|
13 | <br /> |
---|
14 | |
---|
15 | <table tal:condition="python: 1" class="contentListing" width="100%" summary="content layout" id="folder_content"> |
---|
16 | <tr tal:repeat="row rows" |
---|
17 | tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> |
---|
18 | <td align="left" valign="middle" style="width: 5px;" |
---|
19 | tal:condition="is_manager"> |
---|
20 | |
---|
21 | </td> |
---|
22 | <td><a href="view" tal:attributes="href string:${row/url}"> |
---|
23 | <strong tal:content="row/title" /></a> </td> |
---|
24 | |
---|
25 | <td> |
---|
26 | <a tal:condition="row/is_editable" |
---|
27 | href="edit" tal:attributes="href string:${row/url}/external_edit_form" |
---|
28 | target="edit" |
---|
29 | onclick="javascript:window.open('','edit','width=600, height=700, directories=no, toolbar=no, location=no, menubar=no, scrollbars=yes, status=no, resizable=no, dependent=no')"> |
---|
30 | [edit] |
---|
31 | </a> |
---|
32 | </td> |
---|
33 | |
---|
34 | </tr> |
---|
35 | </table> |
---|
36 | |
---|
37 | </span> |
---|
38 | </metal:main> |
---|
39 | </metal:body> |
---|
40 | </metal:html> |
---|