source: main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser_templates/containerpage.pt @ 17930

Last change on this file since 17930 was 12192, checked in by Henrik Bettermann, 10 years ago

Registration and Application Portal/System? (RAPS)

Adjust localization.

File size: 1.7 KB
Line 
1<form method="POST" i18n:domain="waeup.ikoba" class="form-inline">
2<br />
3  <div class="form-group">
4    <input class="btn btn-primary" type="submit" name="search"
5      tal:attributes="value view/search_button" />
6  </div>
7  <div class="form-group">
8    <select name="searchtype" class="form-control">
9      <option i18n:translate="" value="customer_id">with id</option>
10      <option i18n:translate="" value="fullname">with name</option>
11      <option i18n:translate="" value="reg_number">with registration number</option>
12      <option i18n:translate="" value="suspended">
13        with deactivated account (search term omitted)
14      </option>
15    </select>
16  </div>
17  <div class="form-group">
18    <input type="text" class="form-control" name="searchterm" />
19  </div>
20</form>
21<br />
22<div tal:condition="view/hitlist">
23  <h3 i18n:translate="">Search Results</h3>
24  <input type="hidden" name="old_searchterm"
25       tal:attributes="value view/searchterm" />
26  <input type="hidden" name="old_searchtype"
27       tal:attributes="value view/searchtype" />
28  <table class="ikoba-data-table dataTable">
29    <thead>
30    <tr>
31      <th i18n:translate="">Customer Id</th>
32      <th i18n:translate="">Reg. Number</th>
33      <th i18n:translate="">State</th>
34      <th i18n:translate="">Full Name</th>
35    </tr>
36    </thead>
37    <tbody>
38    <tr tal:repeat="item view/hitlist">
39      <td> <a tal:attributes="href item/url">
40        <span tal:content="item/customer_id">A123456</span></a>
41      </td>
42      <td class="center"> <a tal:attributes="href item/url">
43        <span tal:content="item/reg_number">9999999</span></a>
44      </td>
45      <td tal:content="item/state">admitted</td>
46      <td tal:content="item/display_fullname">Bob</td>
47    </tr>
48    </tbody>
49  </table>
50</div>
51
Note: See TracBrowser for help on using the repository browser.