[1783] | 1 | <metal:body use-macro="here/main_template/macros/master"> |
---|
| 2 | <metal:main fill-slot="main" |
---|
| 3 | tal:define="global info context/getStudyCourseInfo;"> |
---|
| 4 | <span tal:condition="not: info"> |
---|
| 5 | <span tal:content="here/illegal_view" /> |
---|
| 6 | </span> |
---|
| 7 | <span tal:condition="info"> |
---|
| 8 | <span tal:define="create_level info/create_level|nothing; |
---|
[3727] | 9 | is_so info/is_so; |
---|
[8391] | 10 | titles here/getStudentObjectTitles;"> |
---|
[1783] | 11 | <a href="" |
---|
| 12 | tal:attributes="href string:${here/academicsParent}"> |
---|
| 13 | <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/> |
---|
| 14 | Up one level |
---|
| 15 | </a> |
---|
[8391] | 16 | <h3> |
---|
[1783] | 17 | <span tal:condition="python:is_so and info"> |
---|
| 18 | <span tal:content="info/student/name" />: |
---|
| 19 | </span> |
---|
[3731] | 20 | <span tal:condition="info/is_student"> |
---|
| 21 | My |
---|
[8391] | 22 | </span> |
---|
[3731] | 23 | <span tal:content="titles/StudentStudyCourse" /> |
---|
[1783] | 24 | </h3> |
---|
[8391] | 25 | <br /> |
---|
[1783] | 26 | <table tal:define="sc python: info['course_doc']"> |
---|
| 27 | <tr> |
---|
[8391] | 28 | <td width="220px">Current Session:</td> |
---|
[1783] | 29 | <td><span tal:content="python:context.portal_vocabularies.sessions.get(info['doc'].current_session)" /></td> |
---|
| 30 | </tr> |
---|
| 31 | <tr> |
---|
[8391] | 32 | <td width="220px">Current Study Level:</td> |
---|
[2632] | 33 | <td><span tal:content="python:context.portal_vocabularies.student_levels.get(info['doc'].current_level)" /></td> |
---|
[1783] | 34 | </tr> |
---|
| 35 | <tr> |
---|
[8391] | 36 | <td width="220px">Current Verdict:</td> |
---|
[1783] | 37 | <td><span tal:content="info/verdict" /></td> |
---|
| 38 | </tr> |
---|
| 39 | <tr> |
---|
[8391] | 40 | <td width="220px">Previous Verdict:</td> |
---|
[2475] | 41 | <td><span tal:content="info/previous_verdict" /></td> |
---|
[8391] | 42 | </tr> |
---|
[2876] | 43 | <span tal:define="f_id sc/faculty; |
---|
| 44 | d_id sc/department; |
---|
| 45 | c_id sc/study_course; |
---|
[8145] | 46 | f_title context/academics/?f_id/LongTitle|string:Faculty not yet in Prospectus; |
---|
| 47 | d_title context/academics/?f_id/?d_id/LongTitle|string:Department not yet in Prospectus; |
---|
[2876] | 48 | c_title context/academics/?f_id/?d_id/certificates/?c_id/Title|string:Department not yet in Prospectus" |
---|
| 49 | > |
---|
[2475] | 50 | <tr> |
---|
[8391] | 51 | <td width="220px">Certificate:</td> |
---|
[2876] | 52 | <td tal:content="c_title" /> |
---|
[1783] | 53 | </tr> |
---|
| 54 | <tr> |
---|
| 55 | <td>Certificate Id:</td> |
---|
[2876] | 56 | <td><span tal:content="sc/study_course" /></td> |
---|
[1783] | 57 | </tr> |
---|
| 58 | <tr> |
---|
| 59 | <td>Faculty:</td> |
---|
| 60 | <td tal:content="f_title" /> |
---|
| 61 | </tr> |
---|
| 62 | <tr> |
---|
[8391] | 63 | <td>Department:</td> |
---|
[1783] | 64 | <td><span tal:content="d_title" /></td> |
---|
| 65 | </tr> |
---|
| 66 | </span> |
---|
[8391] | 67 | </table> |
---|
| 68 | |
---|
[1783] | 69 | <form action="" method="post" class="group" onsubmit="return submit_once()" |
---|
| 70 | tal:attributes="action info/action" |
---|
| 71 | tal:define="rows python: info['items'];" |
---|
| 72 | > |
---|
[2490] | 73 | <span tal:condition="rows"> |
---|
[8391] | 74 | |
---|
| 75 | <table class="contentListing" width="100%" summary="content layout" id="folder_content"> |
---|
[1783] | 76 | <tr tal:repeat="row rows" |
---|
| 77 | tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> |
---|
[8391] | 78 | <td align="left" valign="middle" style="width: 5px;" |
---|
[1783] | 79 | tal:condition="python:is_so"> |
---|
| 80 | <input type="checkbox" name="ids:list" value="" id="" class="noborder" |
---|
| 81 | tal:condition="is_so" |
---|
| 82 | tal:define="id row/id" |
---|
| 83 | tal:attributes="value id; |
---|
| 84 | id python:'cb_' + id; |
---|
[8391] | 85 | checked python:id in info['choosen_ids'];" |
---|
[1783] | 86 | /> |
---|
| 87 | </td> |
---|
| 88 | <td><a href="view" |
---|
| 89 | tal:attributes="href string:${row/url}"> |
---|
[8391] | 90 | <strong tal:content="row/title" /></a> |
---|
[1783] | 91 | </td> |
---|
[1497] | 92 | </tr> |
---|
[1783] | 93 | </table> |
---|
[2490] | 94 | </span> |
---|
[1783] | 95 | <table width="100%" cellspacing="0" cellpadding="2" |
---|
| 96 | summary="contents of the folder" |
---|
| 97 | class="folderButtons"> |
---|
| 98 | <tr tal:condition="python: is_so and info['items']"> |
---|
| 99 | <td align="left" valign="top" rowspan="3"></td> |
---|
| 100 | <td align="left" valign="top"> |
---|
| 101 | <input type="button" value="button_select_all" class="context" |
---|
| 102 | onclick="someJavaScriptFunctionThatWillBeReplaced" |
---|
| 103 | i18n:attributes="value" |
---|
| 104 | tal:attributes="onclick python:'toggleSelect(this, \'%s\', \'%s\')' |
---|
| 105 | % (cpsmcat('button_select_all'), cpsmcat('button_deselect_all'))" |
---|
| 106 | /> |
---|
[2138] | 107 | <input type="submit" name="level_delete:method" value="button_delete" |
---|
[1783] | 108 | class="destructive" i18n:attributes="value" |
---|
| 109 | tal:attributes="onclick python:'return window.confirm(\'%s\')' % |
---|
[8391] | 110 | (cpsmcat('description_confirm_delete'), )" |
---|
[1783] | 111 | /> |
---|
| 112 | </td> |
---|
[1756] | 113 | </tr> |
---|
[1783] | 114 | </table> |
---|
| 115 | </form> |
---|
| 116 | <form action="" method="post" class="group" onsubmit="return submit_once()" |
---|
| 117 | tal:attributes="action string:${context/absolute_url}/create_level" |
---|
| 118 | tal:define="rows python: info['items'];" |
---|
| 119 | tal:condition="create_level" |
---|
| 120 | > |
---|
| 121 | <table width="100%" cellspacing="0" cellpadding="2" |
---|
| 122 | summary="contents of the folder" |
---|
| 123 | class="folderButtons"> |
---|
[1756] | 124 | <tr> |
---|
[1783] | 125 | <td align="left" valign="top" rowspan="3"></td> |
---|
| 126 | <td align="left" valign="top"> |
---|
[8391] | 127 | <input type="submit" name="create_level" |
---|
| 128 | class="destructive" |
---|
| 129 | tal:attributes="value string: Register Courses for ${info/create_level_str}" |
---|
[1783] | 130 | /> |
---|
| 131 | </td> |
---|
[1497] | 132 | </tr> |
---|
[1783] | 133 | </table> |
---|
[8391] | 134 | </form> |
---|
| 135 | |
---|
[2678] | 136 | <div tal:condition="info/missing_data"> |
---|
[2674] | 137 | <font color='red'> |
---|
| 138 | Your faculty has not yet provided the results and verdict of the previous session. |
---|
| 139 | </font> |
---|
| 140 | </div> |
---|
[1783] | 141 | |
---|
| 142 | </span> |
---|
| 143 | </span> |
---|
| 144 | </metal:main> |
---|
| 145 | </metal:body> |
---|
| 146 | |
---|