Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / templates / webpages / shops / list.html
1 [%- USE HTML -%][%- USE LxERP -%][%- USE L -%][%- USE T8 -%][%- INCLUDE 'common/flash.html' %]
2
3 <h1>[% title %]</h1>
4
5 <p>
6  <table width="100%" id="shop_list">
7   <thead>
8    <tr class="listheading">
9     <th align="center" width="1%"><img src="image/updown.png" alt="[ LxERP.t8('reorder item') %]"></th>
10     <th>[% 'Description' | $T8 %]</th>
11     <th>[% 'Type' | $T8 %]</th>
12     <th>[% 'Obsolete' | $T8 %]</th>
13    </tr>
14   </thead>
15
16   <tbody>
17    [%- FOREACH shop = SHOPS %]
18     <tr class="listrow" id="shop_id_[% shop.id %]">
19      <td align="center" class="dragdrop"><img src="image/updown.png" alt="[ LxERP.t8('reorder item') %]"></td>
20      <td><a href="[% SELF.url_for(action='edit', id=shop.id) %]">[% HTML.escape(shop.description) %]</a></td>
21      <td>[% HTML.escape(shop.connector) %]</a></td>
22      <td>[% HTML.escape(shop.obsolete) %]</td>
23     </tr>
24    [%- END %]
25   </tbody>
26  </table>
27 </p>
28
29 <hr height="3">
30
31 [% L.sortable_element('#shop_list tbody', url=SELF.url_for(action='reorder'), with='shop_id') %]