Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a18b7de6

Von Jan Büren vor mehr als 8 Jahren hinzugefügt

  • ID a18b7de6d5cbd43028f4bd9de2e44110a9815d5d
  • Vorgänger b6eb07c5
  • Nachfolger 46efaf45

Auswahlliste bei Langtext verbessert

Bibliothek nicht so oft laden wie Treffer vorhanden sind. Ferner
steht die longdescription zu Verfügung (keine Zwang part.notes explizit zu holen)

Unterschiede anzeigen:

templates/webpages/io/select_item.html
1
[% USE LxERP %][% USE HTML %][% USE L %]
1
[% USE LxERP %][% USE HTML %][% USE L %][% USE P %]
2 2
<h1>[% title %]</h1>
3 3

  
4 4
 <form method="post" action="[% HTML.escape(script) %]">
......
34 34
    <td>[% HTML.escape(item.partnumber) %]</td>
35 35
    <td>[% HTML.escape(item.description) %]</td>
36 36
    [%- IF INSTANCE_CONF.get_show_longdescription_select_item %]
37
      [% USE P %]
38
      <td>[% P.restricted_html(item.notes) %]</td>
37
      <td>[% P.restricted_html(item.longdescription) %]</td>
39 38
    [%- END %]
40 39
    <td>[% HTML.escape(item.matches).join('<br>') %]</td>
41 40
    <td align="right">[% LxERP.format_amount(item.display_sellprice, 2) %]</td>

Auch abrufbar als: Unified diff