Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision c30ce3e5

Von Bernd Bleßmann vor 4 Monaten hinzugefügt

  • ID c30ce3e5f84b1178c3b84fd58608b7df513959f1
  • Vorgänger 2f4b8570
  • Nachfolger 808e6036

design4.0: Lieferbedingungen: Listen umsortieren können

Im HTML-Template war die Klassen 'dragdrop' nicht (immer) vorhanden,
da das Schlüsselwort 'class' mehrfach angegeben wurde.

Unterschiede anzeigen:

templates/design40_webpages/delivery_term/list.html
9 9
<form method="post" action="controller.pl" id="form">
10 10
<div class="wrapper">
11 11

  
12
  [% IF !DELIVERY_TERMS.size %] 
12
  [% IF !DELIVERY_TERMS.size %]
13 13
  <p>
14
    [%- 'No delivery term has been created yet.' | $T8 %] 
14
    [%- 'No delivery term has been created yet.' | $T8 %]
15 15
  </p>
16
  [%- ELSE %] 
16
  [%- ELSE %]
17 17
  <table id="delivery_term_list" class="tbl-list wi-moderate">
18 18
    <thead>
19 19
      <tr>
......
23 23
      </tr>
24 24
    </thead>
25 25
    <tbody>
26
      [%- FOREACH delivery_term = DELIVERY_TERMS %] 
26
      [%- FOREACH delivery_term = DELIVERY_TERMS %]
27 27
      <tr id="delivery_term_id_[% delivery_term.id %]">
28
        <td class="center" class="dragdrop"> <img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"> </td>
28
        <td class="center dragdrop"> <img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"> </td>
29 29
        <td> <a href="[% SELF.url_for(action => 'edit', id => delivery_term.id) %]"> [%- HTML.escape(delivery_term.description) %] </a> </td>
30 30
        <td> [%- HTML.escape(delivery_term.description_long) %] </td>
31 31
      </tr>
32
      [%- END %] 
32
      [%- END %]
33 33
    </tbody>
34 34
  </table>
35
  [%- END %] 
35
  [%- END %]
36 36
</div>
37 37
</form>
38 38

  

Auch abrufbar als: Unified diff