Revision a4420618
Von Tamino Steinert vor 3 Monaten hinzugefügt
templates/design40_webpages/variant_property/variant_property_list.html | ||
---|---|---|
9 | 9 |
<h1>[% title %]</h1> |
10 | 10 |
|
11 | 11 |
<div class="wrapper"> |
12 |
[% IF !VARIANTPROPERTIES.size %]
|
|
12 |
[% IF !VARIANTPROPERTIES.size %] |
|
13 | 13 |
<p> |
14 |
[%- 'No Variantproperty has been created yet.' | $T8 %]
|
|
14 |
[%- 'No Variantproperty has been created yet.' | $T8 %] |
|
15 | 15 |
</p> |
16 |
[%- ELSE %]
|
|
16 |
[%- ELSE %] |
|
17 | 17 |
<table id="variant_properties" class="tbl-list width-moderate"> |
18 | 18 |
<caption>[% 'Variant Properties' | $T8 %]</caption> |
19 | 19 |
<thead> |
20 |
<tr> |
|
20 | 21 |
<th><img src="image/updown.png" alt="[% LxERP.t8('reorder item') %]"></th> |
21 | 22 |
<th>[% 'Name' | $T8 %]</th> |
22 | 23 |
<th>[% 'Unique Name' | $T8 %]</th> |
... | ... | |
27 | 28 |
[% FOREACH variant_property = VARIANTPROPERTIES %] |
28 | 29 |
<tr id="variant_property_id_[% variant_property.id %]"> |
29 | 30 |
<td class="dragdrop"><img src="image/updown.png" alt="[ LxERP.t8('reorder item') %]"></td> |
30 |
<td>[% L.link(SELF.url_for(action="edit_property", |
|
31 |
<td>[% L.link(SELF.url_for(action="edit_variant_property",
|
|
31 | 32 |
id=variant_property.id), variant_property.name) %]</td> |
32 | 33 |
<td>[% variant_property.unique_name | html %]</td> |
33 | 34 |
<td>[% variant_property.abbreviation | html %]</td> |
34 |
</tr>
|
|
35 |
</tr> |
|
35 | 36 |
[% END %] |
36 | 37 |
</tbody> |
37 | 38 |
</table> |
38 |
[%- END %]
|
|
39 |
[%- END %] |
|
39 | 40 |
</div> |
40 | 41 |
|
41 | 42 |
[% L.sortable_element('#variant_properties tbody', url => |
42 |
SELF.url_for(action='reorder_properties'), with => 'variant_property_id') %] |
|
43 |
|
|
43 |
SELF.url_for(action='reorder_variant_properties'), with => 'variant_property_id') %] |
Auch abrufbar als: Unified diff
Varianten: Bearbeiten von Varianten Eigenschaften und Ausprägungen