source: main/waeup.kofa/branches/0.2/src/waeup/kofa/browser/templates/searchpage.pt

Last change on this file was 9631, checked in by Henrik Bettermann, 12 years ago

Display faculty and department in search result tables.

File size: 1.3 KB
Line 
1<form method="post">
2  <input type="text" name="query"
3         tal:attributes="value view/query" />
4    <input class="btn primary" type="submit" name="SUBMIT"
5      tal:attributes="value view/search_button"/>
6</form>
7<br />
8<span  i18n:domain="waeup.kofa" tal:condition="view/hitlist">
9    <h3 i18n:translate="">Search Results</h3>
10    <table class="display dataTable">
11        <thead>
12            <tr>
13                <th i18n:translate="">Code</th>
14                <th i18n:translate="">Title</th>
15                <th i18n:translate="">Faculty</th>
16                <th i18n:translate="">Department</th>
17                <th i18n:translate="">Type</th>
18            </tr>
19        </thead>
20        <tbody>
21            <tr tal:repeat="item view/hitlist"  class="gradeB">
22            <td>
23                <a href="" tal:attributes="href item/url"
24                           tal:content="item/code">CODE</a>
25            </td>
26            <td tal:content="item/title">
27                TITLE
28            </td>
29            <td tal:content="item/fac">
30                FACULTY
31            </td>
32            <td tal:content="item/dep">
33                DEPARTMENT
34            </td>
35            <td tal:content="item/type">
36                TTYPE
37            </td>
38            </tr>
39        </tbody>
40    </table>
41</span>
Note: See TracBrowser for help on using the repository browser.