Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 80132c6a

Von Kivitendo Admin vor etwa 8 Jahren hinzugefügt

  • ID 80132c6afca2f2fecb50fff85abe3f99f20e9b83
  • Vorgänger 94f55685
  • Nachfolger a5b2f9b4

Warengruppen Umstellung auf Controller - Templatefile vergessen

Unterschiede anzeigen:

templates/webpages/partsgroup/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="partsgroup_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>[% 'Obsolete'    | $T8 %]</th>
12
   </tr>
13
  </thead>
14

  
15
  <tbody>
16
   [%- FOREACH partsgroup = SELF.all_partsgroups %]
17
    <tr class="listrow" id="partsgroup_id_[% partsgroup.id %]">
18
     <td align="center" class="dragdrop"><img src="image/updown.png" alt="[ LxERP.t8('reorder item') %]"></td>
19
     <td><a href="[% SELF.url_for(action='edit', id=partsgroup.id) %]">[% HTML.escape(partsgroup.partsgroup) %]</a></td>
20
     <td>[% HTML.escape(partsgroup.obsolete) %]</a></td>
21
    </tr>
22
   [%- END %]
23
  </tbody>
24
 </table>
25
</p>
26

  
27
<hr height="3">
28

  
29
[% L.sortable_element('#partsgroup_list tbody', url=SELF.url_for(action='reorder'), with='partsgroup_id') %]
30

  
31
<p>
32
 <a href="[% SELF.url_for(action='new') %]">[%- 'Add' | $T8 %]</a>
33
</p>

Auch abrufbar als: Unified diff