Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 80718893

Von Werner Hahn vor etwa 7 Jahren hinzugefügt

  • ID 807188932b91bd2bbab6759161a3d4b892bd1acd
  • Vorgänger 5f2204ca
  • Nachfolger e91fa8b2

Shopmodul: Kundenspezifische Anpassung in Shopartikellisting und locale de raus

Unterschiede anzeigen:

templates/webpages/shop_part/_filter.html
10 10
     <td>[% L.select_tag('filter.transferred:eq_ignore_empty', SELF.shop, value_key = 'value', title_key = 'title', default=SHOPS) %]</td>
11 11
    </tr>
12 12

  
13
    <tr>
14
     <th align="right">[% 'Producer' | $T8 %]</th>
15
     <td>[% L.select_tag('filter.transferred:eq_ignore_empty', SELF.producer, value_key = 'value', title_key = 'title', default=PRODUCERS) %]</td>
16
    </tr>
17

  
18
   <!--  <tr>
19
     <th align="right">[% 'from' | $T8 %]</th>
20
     <td>[% # L.date_tag('filter.order_date:date::ge', filter.order_date_date__ge) %]</td>
21
    </tr>
22

  
23
    <tr>
24
     <th align="right">[% 'to' | $T8 %]</th>
25
     <td>[% # L.date_tag('filter.order_date:date::le', filter.order_date_date__le) %]</td>
26
    </tr> -->
27

  
28 13
 </table>
29 14

  
30 15

  
templates/webpages/shop_part/_list_articles.html
6 6
[%- PROCESS 'shop_part/_filter.html' filter=SELF.models.filtered.laundered %]
7 7
<hr>
8 8
<form method="post" action="controller.pl" name="shop_parts" id="shopparts">
9
  <div class="data_count">[% 'Number of Data: ' | $T8 %][% SHOP_PARTS.size %]</div>
9
  <div class="data_count">[% 'Number of Data: ' | $T8 %] [% SHOP_PARTS.size %]</div>
10 10
  <table id="shoplist" width="100%" >
11 11
    <thead>
12 12
      <tr class="listheading">
......
57 57
        [% 'Category' | $T8 %]</a>
58 58
    [% END %]
59 59
    </th>
60
    <th>[% IF FORM.sort_by == 'part.microfiche' %]
61
      <a href ="controller.pl?action=ShopPart/list_articles&sort_by=part.microfiche&sort_dir=[% 1 - FORM.sort_dir %]" class="sort_link">
62
        [% 'Producer' | $T8 %][% IF FORM.sort_dir == 0 %]<img border="0" src="image/down.png">[% ELSE %]<img border="0" src="image/up.png">[% END %]</a>
63
    [% ELSE %]
64
      <a href ="controller.pl?action=ShopPart/list_articles&sort_by=part.microfiche&sort_dir=0" class="sort_link">
65
        [% 'Producer' | $T8 %]</a>
66
    [% END %]
67
    </th>
68
      <th>[% 'Action' | $T8 %]</th>
69 60
    </tr>
70 61
  </thead>
71 62
  [%- FOREACH shop_part = SHOP_PARTS %]
......
111 102
          [% END %]
112 103
        [% END %]
113 104
      </td>
114
      <td>[% HTML.escape( shop_part.part.microfiche ) %]</td>
115
      <td></td>
116 105
    <script type="text/javascript">
117 106
      $(function() {
118 107
         kivi.shop_part.update_price_n_price_source([% shop_part.id %],'[% shop_part.active_price_source %]');

Auch abrufbar als: Unified diff