Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 411a34a1

Von Hans P. Schlaepfer vor fast 4 Jahren hinzugefügt

  • ID 411a34a1b1a8023a6c7b3cccd8bf4ba2854f4a86
  • Vorgänger 7b78ea04
  • Nachfolger 86dd0a8e

Neues Design 2019 Standard-Code templates/webpages/part/_makemodel_row.html

Unterschiede anzeigen:

templates/webpages/part/_makemodel_row.html
1
        <tr class="listrow makemodel_row">
2
         <td style='display:none'>
3
         [% L.hidden_tag("makemodels[+].make", makemodel.make) %]
4
         [% L.hidden_tag("makemodels[].id"   , makemodel.id) %]
5
         </td>
6
         <td align="center">
7
           [%- L.button_tag("kivi.Part.delete_makemodel_row(this)",
8
                            LxERP.t8("X")) %] [% # , confirm=LxERP.t8("Are you sure?")) %]
9
         </td>
10
         <td><span name="position" class="numeric">[% HTML.escape(makemodel.sortorder) %]</span></td>
11
         <td align="center">
12
           <img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]" class="dragdrop">
13
         </td>
14
         <td>[% makemodel.vendor.vendornumber | html %]</td>
15
         <td>[% makemodel.vendor.name         | html %] </td>
16
         <td>[% L.input_tag('makemodels[].model'              , makemodel.model                   , size=30 ) %]</td>
17
         <td>[% L.input_tag('makemodels[].lastcost_as_number' , makemodel.lastcost_as_number      , size=15 , class="reformat_number numeric") %]</td>
18
         <td>[% L.hidden_tag('makemodels[].lastupdate'         , makemodel.lastupdate.to_kivitendo) %][% makemodel.lastupdate.to_kivitendo | html %]</td>
19
        </tr>
20 1
[% USE T8 %]
21 2
[% USE L %]
22 3
[% USE HTML %]
23 4
[% USE LxERP %]
24 5

  
6
<tr class="listrow makemodel_row">
7
  <td class="center">
8
    [% L.hidden_tag("makemodels[+].make", makemodel.make) %]
9
    [% L.hidden_tag("makemodels[].id"   , makemodel.id)   %]
10
    [% L.button_tag("kivi.Part.delete_makemodel_row(this)", LxERP.t8("X"), class="wi-verytiny neutral") %] [% # , confirm=LxERP.t8("Are you sure?")) %]
11
  </td>
12
  <td><span name="position" class="numeric">[% HTML.escape(makemodel.sortorder) %]</span></td>
13
  <td><img src="image/updown.png" alt="[% LxERP.t8('reorder item') %]" class="dragdrop"></td>
14
  <td>[% makemodel.vendor.vendornumber | html %]</td>
15
  <td>[% makemodel.vendor.name         | html %]</td>
16
  <td>[% L.input_tag('makemodels[].model', makemodel.model, class='wi-mediumsmall', size=10 ) %] </td>
17
  <td>[% L.input_tag('makemodels[].lastcost_as_number', makemodel.lastcost_as_number, class='reformat_number numeric wi-small', size=10) %] </td>
18
  <td>
19
    [% L.hidden_tag('makemodels[].lastupdate' , makemodel.lastupdate.to_kivitendo) %]
20
    [% makemodel.lastupdate.to_kivitendo | html %]
21
  </td>
22
</tr>

Auch abrufbar als: Unified diff