Revision 0dfd1b20
Von Hans P. Schlaepfer vor fast 4 Jahren hinzugefügt
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
Neues Design 2019 Standard-Code templates/webpages/part/_cvars.html