Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision f2992e54

Von Werner Hahn vor etwa 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
3 3

  
4 4
  // this is called by sub render, with a certain prerendered html (edit.html,categories.html)
5 5
  ns.shop_part_dialog = function(title, html) {
6
    alert('HALLO');
7 6
    var id            = 'jqueryui_popup_dialog';
8 7
    var dialog_params = {
9 8
      id:     id,
......
16 15
    $('#' + id).remove();
17 16

  
18 17
    $dialog = $('<div style="display:none" id="' + id + '"></div>').appendTo('body');
19
    alert('HALLO');
20 18
    $dialog.attr('title', title);
21 19
    $dialog.html(html);
22 20
    $dialog.dialog(dialog_params);
templates/webpages/shop_part/_list_articles.html
65 65
      <td>[% L.checkbox_tag('shop_parts_ids[]', checked=0, value=shop_part.id) %]</td>
66 66
      <td>[% HTML.escape( shop_part.shop.description ) %]/[% HTML.escape( shop_part.shop.connector ) %]</td>
67 67
      <td>[% HTML.escape( shop_part.part.partnumber ) %]</td>
68
      <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>
68
      <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>
69 69
      <td>
70 70
        [% IF shop_part.shop_description %]
71 71
          [% 'Info' | $T8 %]

Auch abrufbar als: Unified diff