Revision b85ed480
Von Werner Hahn vor mehr als 6 Jahren hinzugefügt
templates/webpages/ic/tabs/_shop.html | ||
---|---|---|
102 | 102 |
<td>[% L.html_tag('span', shop_part.last_update.to_kivitendo('precision' => 'minute'), id => 'shop_part_last_update_' _ shop_part.id ) %]</td> |
103 | 103 |
<td>[% L.button_tag("kivi.shop_part.edit_shop_part(" _ shop_part.id _ ")", LxERP.t8("Edit")) %]</td> |
104 | 104 |
<td>[% L.button_tag("kivi.shop_part.update_shop_part(" _ shop_part.id _ ")", LxERP.t8("Update")) %]</td> |
105 |
<td>[% L.button_tag("kivi.shop_part.get_all_categories(" _ shop_part.id _ ")", LxERP.t8("Shopcategories")) %]</td> |
|
105 | 106 |
</tr> |
106 | 107 |
[%- END %] |
107 | 108 |
[%- FOREACH shop = SHOPS_NOT_ASSIGNED %] |
... | ... | |
137 | 138 |
</p> |
138 | 139 |
</div> |
139 | 140 |
[%- END %] |
140 |
<div id="shop_images"> |
|
141 |
<script type="text/javascript"> |
|
142 |
function show_images() { |
|
143 |
var url = 'controller.pl?action=ShopPart/show_files&modul=shop_part&id=[% shop_part.part_id %]'; |
|
144 |
$('#shop_images').load(url); |
|
145 |
} |
|
146 |
|
|
147 |
$(window).load(function() { |
|
148 |
show_images(); |
|
149 |
}); |
|
150 |
</script> |
|
151 |
<div id="shop_images" border=1 > |
|
141 | 152 |
</div> |
142 | 153 |
</div> |
143 | 154 |
|
Auch abrufbar als: Unified diff
Shopmodul: ShopPart Bilder und Kategorien
Bilder werden als Tabelle angezeigt
Conflicts:
templates/webpages/ic/tabs/_shop.html
Shopparts: Bilder werden angezeigt TODO Bilder löschen
Shopkategorien werden aus der Api/Shop geholt und angezeigt zum markieren
Conflicts:
SL/Controller/ShopPart.pm
SL/ShopConnector/Shopware.pm
js/kivi.shop_part.js