[1380] | 1 | <metal:html> |
---|
[723] | 2 | <metal:body use-macro="here/waeup_content_master/macros/master"> |
---|
[1380] | 3 | <metal:block fill-slot="header" |
---|
| 4 | tal:define="global info context/getStudyCourseInfo; |
---|
| 5 | global is_so info/is_so; |
---|
| 6 | " |
---|
| 7 | > |
---|
[723] | 8 | <a href="" |
---|
| 9 | tal:attributes="href string:${here/academicsParent}"> |
---|
| 10 | <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/> |
---|
| 11 | Up one level |
---|
| 12 | </a> |
---|
[740] | 13 | <h3> |
---|
[1380] | 14 | <span tal:condition="python:is_so and info"> |
---|
[1403] | 15 | <span tal:content="info/student/name" />: |
---|
[740] | 16 | </span> |
---|
| 17 | <span tal:content="here/title_or_id" /> |
---|
| 18 | </h3> |
---|
[772] | 19 | <br /> |
---|
[723] | 20 | </metal:block> |
---|
| 21 | <metal:main fill-slot="main"> |
---|
[1404] | 22 | <span tal:omit-tag="" tal:condition="python:1" |
---|
[723] | 23 | tal:content="structure python: info['doc'].render(layout_mode='view')" /> |
---|
[1380] | 24 | <table tal:define="sc python: info['course_doc']"> |
---|
[1025] | 25 | <tr> |
---|
[1409] | 26 | <td width="220px">Certificate:</td> |
---|
[1025] | 27 | <td><span tal:content="sc/title" /></td> |
---|
| 28 | </tr> |
---|
| 29 | <tr> |
---|
| 30 | <td>Certificate ID:</td> |
---|
| 31 | <td tal:content="sc/study_course" /> |
---|
| 32 | </tr> |
---|
| 33 | <span tal:define="f_id sc/faculty; |
---|
| 34 | d_id sc/department; |
---|
| 35 | f_title context/academics/?f_id/Title|string:Faculty not yet in Prospectus; |
---|
| 36 | d_title context/academics/?f_id/?d_id/Title|string:Department not yet in Prospectus" |
---|
| 37 | > |
---|
| 38 | <tr> |
---|
| 39 | <td>Faculty:</td> |
---|
| 40 | <td tal:content="f_title" /> |
---|
| 41 | </tr> |
---|
| 42 | <tr> |
---|
| 43 | <td>Department:</td> |
---|
| 44 | <td><span tal:content="d_title" /></td> |
---|
| 45 | </tr> |
---|
| 46 | </span> |
---|
| 47 | </table> |
---|
[723] | 48 | |
---|
| 49 | <form action="" method="post" class="group" |
---|
| 50 | tal:attributes="action info/action" |
---|
| 51 | tal:define="rows python: info['items'];" |
---|
| 52 | > |
---|
| 53 | <table tal:condition="python: 1" class="contentListing" width="100%" summary="content layout" id="folder_content"> |
---|
| 54 | <tr tal:repeat="row rows" |
---|
| 55 | tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> |
---|
| 56 | <td align="left" valign="middle" style="width: 5px;" |
---|
[911] | 57 | tal:condition="python: 0 and is_so"> |
---|
[723] | 58 | <input type="checkbox" name="ids:list" value="" id="" class="noborder" |
---|
[911] | 59 | tal:condition="is_so" |
---|
[723] | 60 | tal:define="id row/id" |
---|
| 61 | tal:attributes="value id; |
---|
| 62 | id python:'cb_' + id; |
---|
| 63 | checked python:id in info['choosen_ids'];" |
---|
| 64 | /> |
---|
| 65 | </td> |
---|
| 66 | <td><a href="view" tal:attributes="href string:${row/url}"> |
---|
| 67 | <strong tal:content="row/title" /></a> </td> |
---|
| 68 | </tr> |
---|
| 69 | </table> |
---|
| 70 | <table width="100%" cellspacing="0" cellpadding="2" |
---|
| 71 | summary="contents of the folder" |
---|
| 72 | class="folderButtons"> |
---|
| 73 | <tr> |
---|
| 74 | <td align="left" valign="top" rowspan="3"></td> |
---|
| 75 | <td align="left" valign="top"> |
---|
[911] | 76 | <span tal:condition="python:0 and is_so"> |
---|
[723] | 77 | <input type="button" value="button_select_all" class="context" |
---|
| 78 | onclick="someJavaScriptFunctionThatWillBeReplaced" |
---|
| 79 | i18n:attributes="value" |
---|
| 80 | tal:attributes="onclick python:'toggleSelect(this, \'%s\', \'%s\')' |
---|
| 81 | % (cpsmcat('button_select_all'), cpsmcat('button_deselect_all'))" |
---|
| 82 | /> |
---|
| 83 | <input type="submit" name="folder_delete:method" value="button_delete" |
---|
| 84 | class="destructive" i18n:attributes="value" |
---|
| 85 | tal:attributes="onclick python:'return window.confirm(\'%s\')' % |
---|
| 86 | (cpsmcat('description_confirm_delete'), )" |
---|
| 87 | /> |
---|
| 88 | </span> |
---|
| 89 | </td> |
---|
| 90 | </tr> |
---|
| 91 | </table> |
---|
| 92 | </form> |
---|
| 93 | </metal:main> |
---|
[1096] | 94 | |
---|
[723] | 95 | </metal:body> |
---|
| 96 | </metal:html> |
---|