Revision 28ebd1a6
Von Hans P. Schlaepfer vor etwa 4 Jahren hinzugefügt
templates/webpages/part/_part_picker_result.html | ||
---|---|---|
7 | 7 |
[%# L.dump(SELF.parts) %] |
8 | 8 |
|
9 | 9 |
[% BLOCK part_block %] |
10 |
<div class='part_picker_part [% FORM.no_paginate ? 'ppp_line' : 'ppp_block' %]'> |
|
11 |
<input type='hidden' class='part_picker_id' value='[% part.id %]'> |
|
12 |
<input type='hidden' class='part_picker_partnumber' value='[% part.partnumber %]'> |
|
13 |
<input type='hidden' class='part_picker_description' value='[% part.displayable_name %]'> |
|
14 |
<input type='hidden' class='part_picker_ean' value='[% part.ean %]'> |
|
15 |
<input type='hidden' class='part_picker_unit' value='[% part.unit %]'> |
|
16 |
<span class='ppp_block_number'>[% part.partnumber | html %]</span> |
|
17 |
<span class='ppp_block_ean'>[% part.ean | html %]</span> |
|
18 |
<span class='ppp_block_description'>[% part.description | html %]</span> |
|
19 |
<div style='clear:both;'></div> |
|
20 |
<span class='ppp_block_sellprice'>[% 'Sellprice' | $T8 %]: [% part.sellprice_as_number | html %]</span> |
|
21 |
<span class='ppp_block_description'>[% part.presenter.typeclass_abbreviation %]</span> |
|
22 |
</div> |
|
23 |
[%- END %] |
|
10 |
<div class="part_picker_part [% FORM.no_paginate ? 'ppp_line' : 'ppp_block' %]"> |
|
11 |
<input type="hidden" class="part_picker_id" value="[% part.id %]"> |
|
12 |
<input type="hidden" class="part_picker_partnumber" value="[% part.partnumber %]"> |
|
13 |
<input type="hidden" class="part_picker_description" value="[% part.displayable_name %]"> |
|
14 |
<input type="hidden" class="part_picker_ean" value="[% part.ean %]"> |
|
15 |
<input type="hidden" class="part_picker_unit" value="[% part.unit %]"> |
|
24 | 16 |
|
17 |
<span class="ppp_block_number">[% part.partnumber | html %]</span> |
|
18 |
<span class="ppp_block_ean">[% part.ean | html %]</span> |
|
19 |
<span class="ppp_block_description">[% part.description | html %]</span> |
|
20 |
<div style="clear:both;"></div> |
|
21 |
<span class="ppp_block_sellprice">[% 'Sellprice' | $T8 %]: [% part.sellprice_as_number | html %]</span> |
|
22 |
<span class="ppp_block_description">[% part.presenter.typeclass_abbreviation %]</span> |
|
23 |
</div> |
|
24 |
[% END %] |
|
25 | 25 |
|
26 | 26 |
[% FOREACH part = SELF.parts %] |
27 | 27 |
[% PROCESS part_block %] |
28 | 28 |
[% END %] |
29 | 29 |
|
30 |
<div style='clear:both'></div>
|
|
30 |
<div style="clear:both"></div>
|
|
31 | 31 |
|
32 | 32 |
[% L.paginate_controls(target='#part_picker_result', selector='#part_picker_result', models=SELF.models) %] |
Auch abrufbar als: Unified diff
Neues Design 2019 Standard-Code templates/webpages/part/_part_picker_result.html