Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision aa65fc9f

Von Hans P. Schlaepfer vor fast 5 Jahren hinzugefügt

  • ID aa65fc9ff00d2af962bbf24947efd55fc5e3e160
  • Vorgänger 3612373c
  • Nachfolger 1e8197de

Neues Design 2019 Standard-Code templates/webpages/part/_cvars.html

Unterschiede anzeigen:

templates/webpages/part/_cvars.html
1 1
[% USE HTML  %]
2 2
[% USE T8 %]
3 3

  
4
 <p>[% 'Unchecked custom variables will not appear in orders and invoices.' | $T8 %]</p>
4
<div class="wrapper">
5 5

  
6
  <table>
7
   [%- FOREACH var = CUSTOM_VARIABLES %]
8
   <tr>
9
    <td align="right" valign="top">[% var.VALID_BOX %]</td>
10
    [%- IF !var.partsgroup_filtered %]
11
      <td align="right" valign="top">[% HTML.escape(var.description) %]</td>
12
    [%- END %]
13
    <td valign="top">[% var.HTML_CODE %]</td>
14
   </tr>
15
   [%- END %]
6
[% IF CUSTOM_VARIABLES.size %]
7
  <p>[% 'Unchecked custom variables will not appear in orders and invoices.' | $T8 %]</p>
8
  <table class="tbl-horizontal">
9
    [% FOREACH var = CUSTOM_VARIABLES %]
10
      <tr>
11
        <td>[% var.VALID_BOX %]</td>
12
        [% IF !var.partsgroup_filtered %]
13
          <td>[% HTML.escape(var.description) %]</td>
14
        [% END %]
15
        <td>[% var.HTML_CODE %]</td>
16
      </tr>
17
    [% END %]
16 18
  </table>
19
[% END %]
20

  
21
</div><!-- /.wrapper -->

Auch abrufbar als: Unified diff