- Timestamp:
- 2 Oct 2006, 12:24:04 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_academics/academics_search_view.pt
r600 r611 2 2 portal_status_message options/psm; 3 3 objects options/objects; 4 is_manager options/is_manager;" 4 is_manager options/is_manager; 5 " 5 6 > 6 7 <metal:body use-macro="here/main_template/macros/master"> … … 30 31 > 31 32 <span tal:replace="structure rendered" /> 33 <form action="search" method="post" class="group" 34 tal:attributes="action context/absolute_url" 35 > 32 36 <tal:block tal:condition="python: batch_info and batch_info['nb_pages'] > 1"> 33 37 <div class="batchLayout"> … … 47 51 <table class="contentListing" width="100%"> 48 52 <span tal:repeat="rows batches" tal:omit-tag=""> 49 <tr tal:repeat="student rows" 50 tal:attributes="class python:test(repeat['student'].even(), 'even ajaxtd', 'odd ajaxtd')"> 51 <td><a href="id" tal:attributes="href string:${student/student/absolute_url}" 52 tal:content="student/id"></a></td> 53 <tr tal:repeat="object rows" 54 tal:attributes="class python:test(repeat['object'].even(), 'even ajaxtd', 'odd ajaxtd')"> 55 <td align="left" valign="middle" style="width: 5px;" 56 tal:condition="is_manager"> 57 <input type="checkbox" name="ids:list" value="" id="" class="noborder" 58 tal:condition="is_manager" 59 tal:define="id object/id" 60 tal:attributes="value id; 61 id python:'cb_' + id; 62 checked python:id in options['choosen_ids'];" 63 /> 64 </td> 65 <td><a href="id" tal:attributes="href string:${object/url}" 66 tal:content="object/title"></a></td> 53 67 <td> 54 <span tal:replace="python: student['per_doc'].firstname" /> 55 <span tal:replace="python: student['per_doc'].middlename" /> 56 <span tal:replace="python: student['per_doc'].lastname" /> 68 <span tal:replace="object/review_state" /> 57 69 </td> 58 <td><span tal:replace="python: student['app_doc'].jamb_reg_no" /></td> 59 <td><span tal:replace="student/review_state" /></td> 70 <td> 71 <a tal:condition="object/is_editable" 72 href="edit" tal:attributes="href string:${object/url}/external_edit_form" 73 target="edit" 74 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')"> 75 [edit] 76 </a> 77 </td> 60 78 </tr> 61 79 </span> 80 </table> 81 <table width="100%" cellspacing="0" cellpadding="2" 82 summary="buttons" 83 class="folderButtons"> 84 <tr> 85 <td align="left" valign="top" rowspan="3"></td> 86 <td align="left" valign="top"> 87 <span tal:condition="is_manager"> 88 <input type="button" value="button_select_all" class="context" 89 onclick="someJavaScriptFunctionThatWillBeReplaced" 90 i18n:attributes="value" 91 tal:attributes="onclick python:'toggleSelect(this, \'%s\', \'%s\')' 92 % (cpsmcat('button_select_all'), cpsmcat('button_deselect_all'))" 93 /> 94 <input type="submit" name="folder_delete:method" value="button_delete" 95 class="destructive" i18n:attributes="value" 96 tal:attributes="onclick python:'return window.confirm(\'%s\')' % 97 (cpsmcat('description_confirm_delete'), )" 98 /> 99 </span> 100 </td> 101 </tr> 62 102 </table> 63 103 <tal:block condition="python:batch_info and batch_info['nb_pages'] > 1"> … … 98 138 </div> 99 139 </tal:block> 140 </form> 100 141 </span> 101 142 </metal:main>
Note: See TracChangeset for help on using the changeset viewer.