Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision f857dcf8

Von Andreas Rudin vor etwa 4 Jahren hinzugefügt

  • ID f857dcf8a27198f4727fc3a098d9faa1bc57ef2a
  • Vorgänger 9ec7a57d
  • Nachfolger fdec3627

Neues Design Bugfix: img-Tag Probleme im neuen Order-Controller behoben

L.img.tag verwenden statt img-Tag in Hyperlink

Fuer "id='update_from_master'" gibt es im neuen Design keine css-Eigenschaft
mehr, deshalb 'class="expand"' hinzugefuegt, damit Icon mit 'max-width: 16px;'
verkleinert wird.

Unterschiede anzeigen:

templates/webpages/order/tabs/_row.html
32 32
                    alt=LxERP.t8('Update from master data'),
33 33
                    title= LxERP.t8('Update from master data'),
34 34
                    onclick="if (!confirm('" _ LxERP.t8("Are you sure to update this position from master data?") _ "')) return false; kivi.Order.update_row_from_master_data(this);",
35
                    id='update_from_master') %]
35
                    id='update_from_master',
36
		    class="expand") %]
36 37
    </td>
37 38
    [%- END -%]
38 39
    <td><div name="partnumber">[% HTML.escape(ITEM.part.partnumber) %]</div></td>
templates/webpages/order/tabs/basic_data.html
24 24
        [% SET cv_id = SELF.cv _ '_id' %]
25 25
        <td class="wi-lightwide">
26 26
          [% P.customer_vendor.picker("order.${SELF.cv}" _ '_id', SELF.order.$cv_id, type=SELF.cv, class='wi-lightwide') %]
27
          [% #P.button_tag("kivi.Order.show_vc_details_dialog()", LxERP.t8("Details (one letter abbreviation)"), class='wi-tiny neutral') %]
28
          <a href="javascript:kivi.Order.show_vc_details_dialog();" title="[% 'Show detail informationen' | $T8 %]" class="button-image info"><img src="image/detail.png"></a>
27
          [%- L.img_tag(src="image/detail.png",
28
                      alt=LxERP.t8('Show details'),
29
                      title= LxERP.t8('Show details'),
30
                      onclick="kivi.Order.show_vc_details_dialog();",
31
                      class="button-image info") %]
29 32
        </td>
30 33
      </tr>
31 34
      <tr id='cp_row' [% IF !SELF.order.${SELF.cv}.contacts.size %]style='display:none'[% END %]>
......
288 291
                      alt=LxERP.t8('Update from master data'),
289 292
                      title= LxERP.t8('Update from master data'),
290 293
                      onclick="if (!confirm('" _ LxERP.t8("Are you sure to update all positions from master data?") _ "')) return false; kivi.Order.update_all_rows_from_master_data();",
291
                      id='update_from_master') %]
294
                      id='update_from_master',
295
                      class='expand') %]
292 296
      </th>
293 297
      [%- END %]
294 298
      <th id="partnumber_header_id"><a href='#' onClick='javascript:kivi.Order.reorder_items("partnumber")'> [% 'Partnumber'  | $T8 %]</a></th>

Auch abrufbar als: Unified diff