Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision f2992e54

Von Werner Hahn vor mehr als 7 Jahren hinzugefügt

  • ID f2992e54f22211301e4842f932cf864969a49f89
  • Vorgänger 0f8f16fd
  • Nachfolger 8666d075

Shopmodul: js alerts rausgenommen, template Artikel auf neuen PartController verlinkt

Unterschiede anzeigen:

js/kivi.shop_part.js
// this is called by sub render, with a certain prerendered html (edit.html,categories.html)
ns.shop_part_dialog = function(title, html) {
alert('HALLO');
var id = 'jqueryui_popup_dialog';
var dialog_params = {
id: id,
......
$('#' + id).remove();
$dialog = $('<div style="display:none" id="' + id + '"></div>').appendTo('body');
alert('HALLO');
$dialog.attr('title', title);
$dialog.html(html);
$dialog.dialog(dialog_params);
templates/webpages/shop_part/_list_articles.html
<td>[% L.checkbox_tag('shop_parts_ids[]', checked=0, value=shop_part.id) %]</td>
<td>[% HTML.escape( shop_part.shop.description ) %]/[% HTML.escape( shop_part.shop.connector ) %]</td>
<td>[% HTML.escape( shop_part.part.partnumber ) %]</td>
<td><a href="ic.pl?id=[% shop_part.part.id %]&action=edit&callback=[% HTML.url('controller.pl?action=ShopPart/list_articles') %]#shop_variables">[% HTML.escape( shop_part.part.description ) %]</a></td>
<td><a href="controller.pl?part.id=[% shop_part.part.id %]&action=Part/edit&callback=[% HTML.url('controller.pl?action=ShopPart/list_articles') %]#shop_variables">[% HTML.escape( shop_part.part.description ) %]</a></td>
<td>
[% IF shop_part.shop_description %]
[% 'Info' | $T8 %]

Auch abrufbar als: Unified diff