]> wagnertech.de Git - mfinanz.git/blob - templates/design40_webpages/shops/list.html
date error in mapping
[mfinanz.git] / templates / design40_webpages / shops / list.html
1 [% USE HTML %]
2 [% USE LxERP %]
3 [% USE L %]
4 [% USE T8 %]
5
6 [% INCLUDE 'common/flash.html' %]
7
8 <h1>[% title %]</h1>
9 <div class="wrapper">
10
11 <table class="tbl-list wi-moderate" id="shop_list">
12   <thead>
13     <tr>
14       <th><img src="image/updown.png" alt="[ LxERP.t8('reorder item') %]"></th>
15       <th>[% 'Description' | $T8 %]</th>
16       <th>[% 'Type' | $T8 %]</th>
17       <th>[% 'Obsolete' | $T8 %]</th>
18     </tr>
19   </thead>
20   <tbody>
21     [% FOREACH shop = SHOPS %]
22     <tr id="shop_id_[% shop.id %]">
23       <td class="dragdrop"><img src="image/updown.png" alt="[ LxERP.t8('reorder item') %]"></td>
24       <td><a href="[% SELF.url_for(action='edit', id=shop.id) %]">[% HTML.escape(shop.description) %]</a></td>
25       <td>[% HTML.escape(shop.connector) %]</a></td>
26       <td>[% HTML.escape(shop.obsolete) %]</td>
27     </tr>
28     [% END %]
29   </tbody>
30 </table>
31
32
33 [% L.sortable_element('#shop_list tbody', url=SELF.url_for(action='reorder'), with='shop_id') %]
34
35 </div><!-- /.wrapper -->