Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 8f5246ba

Von Hans Peter Schlaepfer vor etwa 5 Jahren hinzugefügt

  • ID 8f5246ba7cc3b5cb38e5e939ed0642bea64d8367
  • Vorgänger 3fb30e00
  • Nachfolger 1d42407b

Neues kivitendo Design restliche Aenderungen in templates/webpages/d*

Dateien in datev/* delivery_plan/* delivery_term/* delivery_value_report/*
drafts/* dunning/*

Unterschiede anzeigen:

templates/webpages/delivery_term/list.html
1
[% USE HTML %][% USE T8 %][% USE L %][% USE LxERP %]
1
[% USE HTML %]
2
[% USE T8 %]
3
[% USE L %]
4
[% USE LxERP %]
2 5
<h1>[% FORM.title %]</h1>
3 6

  
4 7
[%- INCLUDE 'common/flash.html' %]
5 8

  
6
 <form method="post" action="controller.pl" id="form">
7
  [% IF !DELIVERY_TERMS.size %]
8
   <p>
9
    [%- 'No delivery term has been created yet.' | $T8 %]
10
   </p>
9
<form method="post" action="controller.pl" id="form">
10
<div class="wrapper">
11 11

  
12
  [%- ELSE %]
13
   <table id="delivery_term_list">
12
  [% IF !DELIVERY_TERMS.size %] 
13
  <p>
14
    [%- 'No delivery term has been created yet.' | $T8 %] 
15
  </p>
16
  [%- ELSE %] 
17
  <table id="delivery_term_list" class="tbl-list wi-moderate">
14 18
    <thead>
15
    <tr class="listheading">
16
     <th align="center"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></th>
17
     <th>[%- 'Description' | $T8 %]</th>
18
     <th>[%- 'Long Description' | $T8 %]</th>
19
    </tr>
19
      <tr>
20
        <th class="center"> <img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"> </th>
21
        <th> [%- 'Description' | $T8 %] </th>
22
        <th> [%- 'Long Description' | $T8 %] </th>
23
      </tr>
20 24
    </thead>
21

  
22 25
    <tbody>
23
    [%- FOREACH delivery_term = DELIVERY_TERMS %]
24
    <tr class="listrow[% loop.count % 2 %]" id="delivery_term_id_[% delivery_term.id %]">
25
     <td align="center" class="dragdrop"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></td>
26
     <td>
27
      <a href="[% SELF.url_for(action => 'edit', id => delivery_term.id) %]">
28
       [%- HTML.escape(delivery_term.description) %]
29
      </a>
30
     </td>
31
     <td>[%- HTML.escape(delivery_term.description_long) %]</td>
32
    </tr>
33
    [%- END %]
26
      [%- FOREACH delivery_term = DELIVERY_TERMS %] 
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>
29
        <td> <a href="[% SELF.url_for(action => 'edit', id => delivery_term.id) %]"> [%- HTML.escape(delivery_term.description) %] </a> </td>
30
        <td> [%- HTML.escape(delivery_term.description_long) %] </td>
31
      </tr>
32
      [%- END %] 
34 33
    </tbody>
35
   </table>
36
  [%- END %]
37
 </form>
34
  </table>
35
  [%- END %] 
36
</div>
37
</form>
38 38

  
39
 [% L.sortable_element('#delivery_term_list tbody', url => 'controller.pl?action=DeliveryTerm/reorder', with => 'delivery_term_id') %]
39
[% L.sortable_element('#delivery_term_list tbody', url => 'controller.pl?action=DeliveryTerm/reorder', with => 'delivery_term_id') %]

Auch abrufbar als: Unified diff