Revision 7ef9062b
Von Tamino Steinert vor 3 Monaten hinzugefügt
templates/design40_webpages/part/_basic_data.html | ||
---|---|---|
4 | 4 |
[% USE L %] |
5 | 5 |
[% USE P %] |
6 | 6 |
|
7 |
[% IF SELF.part.image || SELF.part.description %] |
|
8 |
[% IF SELF.part.image && INSTANCE_CONF.get_parts_show_image %] |
|
9 |
<div class="image col"> |
|
10 |
<a href="[% SELF.part.image | html %]" target="_blank"> |
|
11 |
<img style="[% INSTANCE_CONF.get_parts_image_css %]" src="[% SELF.part.image | html %]"/> |
|
12 |
</a> |
|
13 |
</div> |
|
14 |
[% END %] |
|
15 |
[% IF SELF.part.description %] |
|
16 |
<h2 class="record-title col"> |
|
17 |
[% SELF.part.description %] [% IF SELF.part.partnumber %]<small>([% SELF.part.partnumber %])</small>[% END %] |
|
18 |
</h2> |
|
19 |
[% END %] |
|
7 |
[% IF SELF.part.image && INSTANCE_CONF.get_parts_show_image %] |
|
8 |
<div class="image col"> |
|
9 |
<a href="[% SELF.part.image | html %]" target="_blank"> |
|
10 |
<img style="[% INSTANCE_CONF.get_parts_image_css %]" src="[% SELF.part.image | html %]"/> |
|
11 |
</a> |
|
12 |
</div> |
|
13 |
[% END %] |
|
14 |
|
|
15 |
[% IF SELF.part.description %] |
|
16 |
<h2 class="record-title col"> |
|
17 |
[% SELF.part.description %] |
|
18 |
[% IF SELF.part.partnumber %]<small>([% SELF.part.partnumber %])</small>[% END %] |
|
19 |
[% IF SELF.part.is_variant %] |
|
20 |
<br><small>[% 'Parent Variant' | $T8 %]: [% SELF.part.parent_variant.presenter.part %]</small> |
|
21 |
[% END %] |
|
22 |
</h2> |
|
20 | 23 |
[% END %] |
21 | 24 |
|
22 | 25 |
<div class="wrapper" id="wrapper-1"> |
Auch abrufbar als: Unified diff
Varianten: Stammartikel in Basisdaten anzeigen