Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 551b5ac6

Von Hans Peter Schlaepfer vor mehr als 5 Jahren hinzugefügt

  • ID 551b5ac6c485e8ad3f3baac1be670151da014663
  • Vorgänger 51930364
  • Nachfolger eae4302d

Neues kivitendo Design Aenderungen in templates/webpages/bank_transactions/..

Unterschiede anzeigen:

templates/webpages/bank_transactions/_template_list.html
1
[%- USE HTML -%][%- USE LxERP -%][%- USE P -%]
1
[% USE HTML %]
2
[% USE LxERP %]
3
[% USE P %]
2 4

  
3 5
[% IF TEMPLATES_AP.size %]
4
 [% LxERP.t8('AP template suggestions') %]:
5
 <table>
6
  <thead>
7
   <tr>
8
    <th class="listheading">[% LxERP.t8('Description') %]</th>
9
    <th class="listheading">[% LxERP.t8('Vendor') %]</th>
10
    <th class="listheading">[% LxERP.t8('Employee') %]</th>
11
    <th class="listheading">[% LxERP.t8('Template date') %]</th>
12
   </tr>
13
  </thead>
14 6

  
15
  <tbody>
16
   [% FOREACH template = TEMPLATES_AP %]
17
    <tr class="listrow">
18
     <td>[% P.link_tag(SELF.load_ap_record_template_url(template), template.template_name) %]</td>
19
     <td>[% HTML.escape(template.vendor.name) %]</td>
20
     <td>[% HTML.escape(template.employee.name || template.employee.login) %]</td>
21
     <td>[% HTML.escape(template.itime_as_date) %]</td>
22
    </tr>
23
   [% END %]
24
  </tbody>
25
 </table>
7
  <table class="tbl-list">
8
    <caption>[% LxERP.t8('AP template suggestions') %]:</caption>
9
    <thead>
10
      <tr>
11
        <th>[% LxERP.t8('Description') %]</th>
12
        <th>[% LxERP.t8('Vendor') %]</th>
13
        <th>[% LxERP.t8('Employee') %]</th>
14
        <th>[% LxERP.t8('Template date') %]</th>
15
      </tr>
16
    </thead>
17
    <tbody>
18
      [% FOREACH template = TEMPLATES_AP %]
19
      <tr>
20
        <td>[% P.link_tag(SELF.load_ap_record_template_url(template), template.template_name) %]</td>
21
        <td>[% HTML.escape(template.vendor.name) %]</td>
22
        <td>[% HTML.escape(template.employee.name || template.employee.login) %]</td>
23
        <td>[% HTML.escape(template.itime_as_date) %]</td>
24
      </tr>
25
      [% END %]
26
    </tbody>
27
  </table>
28

  
26 29
[% ELSE %]
27
 <p class="message_hint">[% LxERP.t8('No AP template was found.') %]</p>
30
  <p class="message message_hint">[% LxERP.t8('No AP template was found.') %]</p>
28 31
[% END %]
29 32

  
33

  
30 34
[% IF TEMPLATES_GL.size %]
31
 [% LxERP.t8('GL template suggestions') %]:
32
 <table>
33
  <thead>
34
   <tr>
35
    <th class="listheading">[% LxERP.t8('Description') %]</th>
36
    <th class="listheading">[% LxERP.t8('Reference') %]</th>
37
    <th class="listheading">[% LxERP.t8('Employee') %]</th>
38
    <th class="listheading">[% LxERP.t8('Template date') %]</th>
39
   </tr>
40
  </thead>
41 35

  
42
  <tbody>
43
   [% FOREACH template = TEMPLATES_GL %]
44
    <tr class="listrow">
45
     <td>[% P.link_tag(SELF.load_gl_record_template_url(template), template.template_name) %]</td>
46
     <td>[% HTML.escape(template.reference) %]</td>
47
     <td>[% HTML.escape(template.employee.name || template.employee.login) %]</td>
48
     <td>[% HTML.escape(template.itime_as_date) %]</td>
49
    </tr>
50
   [% END %]
51
  </tbody>
52
 </table>
36
  <table class="tbl-list">
37
    <caption>[% LxERP.t8('GL template suggestions') %]:</caption>
38
    <thead>
39
      <tr>
40
        <th>[% LxERP.t8('Description') %]</th>
41
        <th>[% LxERP.t8('Reference') %]</th>
42
        <th>[% LxERP.t8('Employee') %]</th>
43
        <th>[% LxERP.t8('Template date') %]</th>
44
      </tr>
45
    </thead>
46
    <tbody>
47
      [% FOREACH template = TEMPLATES_GL %]
48
        <tr>
49
          <td>[% P.link_tag(SELF.load_gl_record_template_url(template), template.template_name) %]</td>
50
          <td>[% HTML.escape(template.reference) %]</td>
51
          <td>[% HTML.escape(template.employee.name || template.employee.login) %]</td>
52
          <td>[% HTML.escape(template.itime_as_date) %]</td>
53
        </tr>
54
      [% END %]
55
    </tbody>
56
  </table>
57

  
53 58
[% ELSE %]
54
 <p class="message_hint">[% LxERP.t8('No GL template was found.') %]</p>
59
  <p class="message message_hint">[% LxERP.t8('No GL template was found.') %]</p>
55 60
[% END %]

Auch abrufbar als: Unified diff