Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 4dbdad0f

Von Cem Aydin vor fast 4 Jahren hinzugefügt

  • ID 4dbdad0f4a04f515f53bb76cf9e9a54cab8547aa
  • Vorgänger 8c9ae204
  • Nachfolger 3a0fddbe

Neues Design Bugfix: #384 Teil: Tabellen in Templates Angepasst/Vereinfacht

- Übersetzungen vereinheitlicht/korrigiert
(gem. locale/de/missing)

Unterschiede anzeigen:

templates/webpages/gl/form_header.html
90 90
      <th>[% 'Tax point' | $T8 %]</th>
91 91
      <td>[% L.date_tag('tax_point', tax_point) %]</td>
92 92
    </tr>
93
    <tr>
94
      <th>[% 'Delivery Date' | $T8 %]</th>
95
      <td>[% L.date_tag('deliverydate', deliverydate) %]</td>
96
    </tr>
93 97
    [% SET departments_style = "";
94 98
       SET departments_style = "style='visibility:hidden'" IF ALL_DEPARTMENTS.size == 0 %]
95 99
    <tr>
96 100
      <th [%- departments_style -%]>[% 'Department' | $T8 %]</th>
97 101
      <td [%- departments_style -%]>[% L.select_tag('department_id', ALL_DEPARTMENTS, default=department_id, title_key='description', with_empty=1, class='wi-wide') %]</td>
98 102
    </tr>
99

  
100 103
    <tr>
101 104
      <th>[% 'Description' | $T8 %]</th>
102 105
      <td class="wi-wide">[% L.areainput_tag('description', description, readonly=readonly, cols=10, class='wi-wide') %]</td>
103 106
    </tr>
104 107
    <tr>
105
      <th class="right" width="50%" nowrap>[% 'Delivery Date' | $T8 %]</th>
106
      <td class="left">[% L.date_tag('deliverydate', deliverydate) %]</td>
108
      <th><label for="ob_transaction">[% 'CB Transaction' | $T8 %]</label></th>
109
      <td>[% L.checkbox_tag('ob_transaction' checked=ob_transaction) %]</td>
110
    </tr>
111
    <tr>
112
      <th><label for="cb_transaction">[% 'OB Transaction' | $T8 %]</label></th>
113
      <td>[% L.checkbox_tag('cb_transaction' checked=cb_transaction) %]</td>
107 114
    </tr>
108 115
    <tr>
109 116
      <th>[%- IF id %][% 'Mitarbeiter' | $T8 %][% END %]</th>
110 117
      <td>[%- IF id %][% L.input_tag('employee', employee, class='wi-normal', readonly=readonly, class='wi-wide') %][% END %]</td>
111
      <th>[% 'MwSt. inkl.' | $T8 %]</th>
112
      <td>[% L.checkbox_tag('taxincluded', checked=taxincluded) %]</td>
113 118
    </tr>
114
  </tbody>
115
</table>
116

  
117
<table class="tbl-horizontal">
118
  <tbody>
119 119
    <tr>
120
      <th>
121
        <span class="label above">[% 'Optional Transaction Type' | $T8 %]</span>
122
        <label for="ob_transaction">[% L.checkbox_tag('ob_transaction' checked=ob_transaction) %] [% 'CB Transaction' | $T8 %]</label> <br>
123
        <label for="cb_transaction">[% L.checkbox_tag('cb_transaction' checked=cb_transaction) %] [% 'OB Transaction' | $T8 %]</label>
124
      </th>
120
      <th>[% 'MwSt. inkl.' | $T8 %]</th>
121
      <td>[% L.checkbox_tag('taxincluded', checked=taxincluded) %]</td>
125 122
    </tr>
126 123
  </tbody>
127 124
</table>
templates/webpages/ic/search.html
75 75
        <td>[% L.yes_no_tag('shop', shop, default='', with_empty=1, empty_title='', class='wi-mediumsmall') %]</td>
76 76
      </tr>
77 77
      [% CUSTOM_VARIABLES_FILTER_CODE %]
78
      <tr>
79
        <th class="caption" colspan="2"> [% 'Illustrations' | $T8 %]</th>
80
      </tr>
81
      <tr>
82
        <th>[% 'Drawing' | $T8 %]</th>
83
        <td>[% L.input_tag("drawing", "", class="wi-wide") %]</td>
84
      </tr>
85
      <tr>
86
        <th>[% 'Microfiche' | $T8 %]</th>
87
        <td>[% L.input_tag("microfiche", "", class="wi-wide") %]</td>
88
      </tr>
78 89
    </tbody>
79 90
  </table>
80 91

  
81 92
  <table class="tbl-horizontal">
82
    <caption> [% 'Scope' | $T8 %]</caption>
93
    <caption> [% 'Options' | $T8 %]</caption>
83 94
    <colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup>
84
    <thead>
85
      <tr>
86
        <th>[% 'Scope' | $T8 %]</th>
87
        <th>[% 'Composition' | $T8 %]</th>
88
      </tr>
89
    </thead>
90 95
    <tbody>
91 96
      <tr>
92 97
        <td>
......
97 102
          [% L.radio_button_tag('itemstatus', value='orphaned', id='itemstatus_orphaned', label=LxERP.t8('Orphaned')) %]<br>
98 103
          [% L.radio_button_tag('itemstatus', value='', id='itemstatus_all', label=LxERP.t8('All')) %]
99 104
        </td>
100
        <td>
105
      </tr>
106
      <tr>
107
        <th class="caption" colspan="2">[% 'Assemblies' | $T8 %]</th>
108
      </tr>
109
      <tr>
110
        <td colspan="2">
101 111
          [% L.radio_button_tag('bom', id='bom_0', value=0, checked=1, label=LxERP.t8('Top Level Designation only')) %]<br>
102 112
          [% L.radio_button_tag('bom', id='bom_1', value=1, label=LxERP.t8('Individual Items')) %]<br>
103 113
          [% L.radio_button_tag('bom', id='bom_2', value=2, label=LxERP.t8('Search for Items used in Assemblies')) %]
104 114
        </td>
105 115
      </tr>
106 116
      <tr>
107
        <th class="caption" colspan="2">[% 'State' | $T8 %]</th>
117
        <th class="caption" colspan="2">[% 'Status' | $T8 %]</th>
108 118
      </tr>
109 119
      <tr>
110 120
        <td colspan="2">
......
132 142
      </tr>
133 143
    </tbody>
134 144
  </table>
135

  
136
<table class="tbl-horizontal">
137
  <caption>[% 'Handling' | $T8 %]</caption>
138
  <colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup>
139
  <tbody>
140
    <tr>
141
      <th>[% 'Insert Date' | $T8 %]</th>
142
      <td class="wi-date">[% L.date_tag('insertdatefrom') %] [% 'Bis' | $T8 %] [% L.date_tag('insertdateto') %]</td>
143
    </tr>
144
    <tr>
145
      <th class="caption" colspan="2"> [% 'Illustrations' | $T8 %]</th>
146
    </tr>
147
    <tr>
148
      <th>[% 'Drawing' | $T8 %]</th>
149
      <td>[% L.input_tag("drawing", "", class="wi-wide") %]</td>
150
    </tr>
151
    <tr>
152
      <th>[% 'Microfiche' | $T8 %]</th>
153
      <td>[% L.input_tag("microfiche", "", class="wi-wide") %]</td>
154
    </tr> </tbody>
155
</table>
156

  
157
  </div><!-- /.wrapper -->
145
  <table class="tbl-horizontal">
146
    <caption>[% 'Handling' | $T8 %]</caption>
147
    <colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup>
148
    <tbody>
149
      <tr>
150
        <th>[% 'Insert Date' | $T8 %]</th>
151
        <td class="wi-date">[% L.date_tag('insertdatefrom') %] [% 'Bis' | $T8 %] [% L.date_tag('insertdateto') %]</td>
152
      </tr>
153
    </tbody>
154
  </table>
155
</div><!-- /.wrapper -->
158 156

  
159 157

  
160 158
<div class="wrapper form-addition control-panel">
......
162 160
  <h3 class="caption"> [% 'Include in Report' | $T8 %] </h3>
163 161
  <!-- PENDENT: Klasse col noetig in form-adddition -->
164 162
  <div class="col list">
165
    <h4>[% 'Article info ' | $T8 %]</h4>
163
    <h4>[% 'Article' | $T8 %]</h4>
166 164
    <p>[% L.checkbox_tag('l_partnumber', label=LxERP.t8('Part Number'), checked=1, value='Y') %]</p>
167 165
    <p>[% L.checkbox_tag('l_description', label=LxERP.t8('Part Description'), checked=1, value='Y') %]</p>
168 166
    <p>[% L.checkbox_tag('l_serialnumber', label=LxERP.t8('Serial Number'), value='Y') %]</p>

Auch abrufbar als: Unified diff