Revision aab140df
Von Cem Aydin vor 4 Monaten hinzugefügt
- ID aab140df185d34c2d884ca304a49d121932674fe
- Vorgänger af169a38
js/kivi.SalesPurchase.js | ||
---|---|---|
32 | 32 |
} |
33 | 33 |
|
34 | 34 |
var $container = $('#popup_edit_longdescription_input_container'); |
35 |
var $edit = $('<textarea id="popup_edit_longdescription_input" class="texteditor-in-dialog texteditor-space-for-toolbar" wrap="soft" style="width: ' + textarea_width + 'px; height: ' + textarea_height + 'px;"></textarea>');
|
|
35 |
var $edit = $('<textarea id="popup_edit_longdescription_input" class="texteditor-in-dialog texteditor-space-for-toolbar" style="width: ' + textarea_width + 'px; height: ' + textarea_height + 'px;"></textarea>'); |
|
36 | 36 |
|
37 | 37 |
$container.children().remove(); |
38 | 38 |
$container.append($edit); |
templates/design40_webpages/ap/form_header.html | ||
---|---|---|
182 | 182 |
<tbody> |
183 | 183 |
<tr> |
184 | 184 |
<td> |
185 |
[% L.textarea_tag("notes", HTML.escape(notes), wrap="soft", rows=textarea_rows, readonly=readonly, class="wi-wide") %]
|
|
185 |
[% L.textarea_tag("notes", HTML.escape(notes), rows=textarea_rows, readonly=readonly, class="wi-wide") %] |
|
186 | 186 |
</td> |
187 | 187 |
</tr> |
188 | 188 |
<tr> |
189 | 189 |
<td> |
190 | 190 |
<span class="label above">[% 'Internal Notes' | $T8 %]</span> |
191 |
[% L.textarea_tag("intnotes", HTML.escape(intnotes), wrap="soft", rows=textarea_rows, readonly=readonly, class="wi-wide") %]
|
|
191 |
[% L.textarea_tag("intnotes", HTML.escape(intnotes), rows=textarea_rows, readonly=readonly, class="wi-wide") %] |
|
192 | 192 |
</td> |
193 | 193 |
</tr> |
194 | 194 |
<tr> |
templates/design40_webpages/ar/form_header.html | ||
---|---|---|
183 | 183 |
<tbody> |
184 | 184 |
<tr> |
185 | 185 |
<td> |
186 |
[% L.textarea_tag("notes", HTML.escape(notes), wrap="soft", rows=rows, class="wi-wide") %]
|
|
186 |
[% L.textarea_tag("notes", HTML.escape(notes), rows=rows, class="wi-wide") %] |
|
187 | 187 |
</td> |
188 | 188 |
</tr> |
189 | 189 |
<tr> |
190 | 190 |
<td> |
191 | 191 |
<span class="label above">[% 'Notes for customer' | $T8 %]</span> |
192 |
[% L.textarea_tag("intnotes", HTML.escape(intnotes), wrap="soft", rows=rows, readonly=readonly, class="wi-wide") %]
|
|
192 |
[% L.textarea_tag("intnotes", HTML.escape(intnotes), rows=rows, readonly=readonly, class="wi-wide") %] |
|
193 | 193 |
</td> |
194 | 194 |
</tr> |
195 | 195 |
</tbody> |
templates/design40_webpages/delivery_order/tabs/basic_data.html | ||
---|---|---|
157 | 157 |
<tbody> |
158 | 158 |
<tr> |
159 | 159 |
<td class="wi-wide"> |
160 |
[% L.textarea_tag('order.notes', SELF.order.notes, wrap="soft", rows=7, class="texteditor wi-wide") %]
|
|
160 |
[% L.textarea_tag('order.notes', SELF.order.notes, rows=7, class="texteditor wi-wide") %] |
|
161 | 161 |
</td> |
162 | 162 |
</tr> |
163 | 163 |
<tr> |
164 | 164 |
<td> |
165 | 165 |
<span class="label above">[% 'Internal Notes' | $T8 %]</span> |
166 |
[% L.textarea_tag('order.intnotes', SELF.order.intnotes, wrap="soft", class="wi-wide") %]
|
|
166 |
[% L.textarea_tag('order.intnotes', SELF.order.intnotes, class="wi-wide") %] |
|
167 | 167 |
</td> |
168 | 168 |
</tr> |
169 | 169 |
</tbody> |
templates/design40_webpages/do/form_header.html | ||
---|---|---|
249 | 249 |
[% L.hidden_tag("notes", notes) %] |
250 | 250 |
<div class="fake-textarea fake-wi-wide">[% P.restricted_html(notes) %]</div> |
251 | 251 |
[% ELSE %] |
252 |
[% L.textarea_tag("notes", notes, wrap="soft", rows=3, cols=10, class="texteditor wi-wide") %]
|
|
252 |
[% L.textarea_tag("notes", notes, rows=3, cols=10, class="texteditor wi-wide") %] |
|
253 | 253 |
[% END %] |
254 | 254 |
</td> |
255 | 255 |
</tr> |
256 | 256 |
<tr> |
257 | 257 |
<td colspan="2"> |
258 | 258 |
<span class="label above">[% 'Internal Notes' | $T8 %]</span> |
259 |
[% L.textarea_tag("intnotes", intnotes, wrap="soft", class="wi-wide") %]
|
|
259 |
[% L.textarea_tag("intnotes", intnotes, class="wi-wide") %] |
|
260 | 260 |
</td> |
261 | 261 |
</tr> |
262 | 262 |
</tbody> |
templates/design40_webpages/email_journal/tabs/basic_data.html | ||
---|---|---|
35 | 35 |
<tr> |
36 | 36 |
<th>[% 'Extended status' | $T8 %]</th> |
37 | 37 |
<td> |
38 |
[% L.textarea_tag('extended_status', SELF.entry.extended_status, wrap="soft", style="color:black; height:25px", class="wi-verywide", disabled=1) %]
|
|
38 |
[% L.textarea_tag('extended_status', SELF.entry.extended_status, style="color:black; height:25px", class="wi-verywide", disabled=1) %] |
|
39 | 39 |
</td> |
40 | 40 |
</tr> |
41 | 41 |
<tr> |
... | ... | |
45 | 45 |
<tr> |
46 | 46 |
<th>[% 'Headers' | $T8 %]</th> |
47 | 47 |
<td> |
48 |
[% L.textarea_tag('headers', HTML.escape(SELF.entry.headers), wrap="soft", style="color:black; height:25px", class="wi-verywide", disabled=1) %]
|
|
48 |
[% L.textarea_tag('headers', HTML.escape(SELF.entry.headers), style="color:black; height:25px", class="wi-verywide", disabled=1) %] |
|
49 | 49 |
</td> |
50 | 50 |
</tr> |
51 | 51 |
<tr> |
templates/design40_webpages/ir/form_header.html | ||
---|---|---|
215 | 215 |
<th class="caption">[% 'Notes' | $T8 %]</th> |
216 | 216 |
</tr> |
217 | 217 |
<tr> |
218 |
<td class="wi-wider">[% L.textarea_tag("notes", notes, wrap="soft", style="height:150px", class="texteditor wi-wider") %]</td>
|
|
218 |
<td class="wi-wider">[% L.textarea_tag("notes", notes, style="height:150px", class="texteditor wi-wider") %]</td> |
|
219 | 219 |
</tr> |
220 | 220 |
<tr> |
221 | 221 |
<td> |
222 | 222 |
<span class="label-above">[% 'Internal Notes' | $T8 %]</span> |
223 |
[% L.textarea_tag("intnotes", intnotes, wrap="soft", class="wi-wider") %]
|
|
223 |
[% L.textarea_tag("intnotes", intnotes, class="wi-wider") %] |
|
224 | 224 |
</td> |
225 | 225 |
</tr> |
226 | 226 |
[% IF id && follow_ups.size %] |
templates/design40_webpages/is/form_header.html | ||
---|---|---|
291 | 291 |
</tr> |
292 | 292 |
<tr> |
293 | 293 |
<td class="wi-wide"> |
294 |
[% L.textarea_tag("notes", notes, wrap="soft", class="wi-wide texteditor") %]
|
|
294 |
[% L.textarea_tag("notes", notes, class="wi-wide texteditor") %] |
|
295 | 295 |
</td> |
296 | 296 |
</tr> |
297 | 297 |
<tr> |
298 | 298 |
<th> |
299 | 299 |
<span class="label above">[% 'Internal Notes' | $T8 %]</span> |
300 |
[% L.textarea_tag("intnotes", intnotes, wrap="soft", class="wi-wide") %]
|
|
300 |
[% L.textarea_tag("intnotes", intnotes, class="wi-wide") %] |
|
301 | 301 |
</th> |
302 | 302 |
</tr> |
303 | 303 |
</tbody> |
templates/design40_webpages/order/tabs/basic_data.html | ||
---|---|---|
195 | 195 |
<colgroup><col class="wi-wide"></colgroup> |
196 | 196 |
<tbody> |
197 | 197 |
<tr> |
198 |
<td class="wi-wide">[% L.textarea_tag('order.notes', SELF.order.notes, wrap="soft",rows=7, class="texteditor wi-wide") %]</td>
|
|
198 |
<td class="wi-wide">[% L.textarea_tag('order.notes', SELF.order.notes, rows=7, class="texteditor wi-wide") %]</td> |
|
199 | 199 |
</tr> |
200 | 200 |
<tr> |
201 |
<td><span class="label above">[% 'Internal Notes' | $T8 %]</span>[% L.textarea_tag('order.intnotes', SELF.order.intnotes, wrap="soft", class="wi-wide") %]</td>
|
|
201 |
<td><span class="label above">[% 'Internal Notes' | $T8 %]</span>[% L.textarea_tag('order.intnotes', SELF.order.intnotes, class="wi-wide") %]</td> |
|
202 | 202 |
</tr> |
203 | 203 |
</tbody> |
204 | 204 |
</table> |
templates/design40_webpages/order/tabs/phone_notes.html | ||
---|---|---|
38 | 38 |
</tr> |
39 | 39 |
<tr> |
40 | 40 |
<th>[% 'Body' | $T8 %]</th> |
41 |
<td>[% L.textarea_tag('phone_note.body', '', wrap="soft", style="height: 350px", class="texteditor wi-wider") %]</td>
|
|
41 |
<td>[% L.textarea_tag('phone_note.body', '', style="height: 350px", class="texteditor wi-wider") %]</td> |
|
42 | 42 |
</tr> |
43 | 43 |
</tbody> |
44 | 44 |
</table> |
templates/design40_webpages/part/_basic_data.html | ||
---|---|---|
241 | 241 |
<colgroup> <col class="wi-small-mediumsmall"> </colgroup> |
242 | 242 |
<tbody> |
243 | 243 |
<tr> |
244 |
<td> <textarea id="part.formel" name="part.formel" rows="[% IF notes_rows %][% HTML.escape(notes_rows) %][% ELSE %]3[% END %]" cols="10" wrap="soft" class="tooltipster-html wi-small-mediumsmall" title="[% 'The formula needs the following syntax:<br>For regular article:<br>Variablename= Variable Unit;<br>Variablename2= Variable2 Unit2;<br>...<br>###<br>Variable + ( Variable2 / Variable )<br><b>Please be beware of the spaces in the formula</b><br>' | $T8 %]">[% HTML.escape(SELF.part.formel) %]</textarea>
|
|
244 |
<td> <textarea id="part.formel" name="part.formel" rows="[% IF notes_rows %][% HTML.escape(notes_rows) %][% ELSE %]3[% END %]" cols="10" class="tooltipster-html wi-small-mediumsmall" title="[% 'The formula needs the following syntax:<br>For regular article:<br>Variablename= Variable Unit;<br>Variablename2= Variable2 Unit2;<br>...<br>###<br>Variable + ( Variable2 / Variable )<br><b>Please be beware of the spaces in the formula</b><br>' | $T8 %]">[% HTML.escape(SELF.part.formel) %]</textarea> |
|
245 | 245 |
</td> |
246 | 246 |
</tr> |
247 | 247 |
</tbody> |
templates/design40_webpages/reclamation/tabs/basic_data.html | ||
---|---|---|
199 | 199 |
<tbody> |
200 | 200 |
<tr> |
201 | 201 |
<td class="wi-wide"> |
202 |
[% L.textarea_tag('reclamation.notes', SELF.reclamation.notes, wrap="soft", style="width: 350px; height: 150px", class="texteditor wi-wide") %]
|
|
202 |
[% L.textarea_tag('reclamation.notes', SELF.reclamation.notes, style="width: 350px; height: 150px", class="texteditor wi-wide") %] |
|
203 | 203 |
</td> |
204 | 204 |
</tr> |
205 | 205 |
<tr> |
206 | 206 |
<td> |
207 | 207 |
<span class="label above">[% 'Internal Notes' | $T8 %]</span> |
208 |
[% L.textarea_tag('reclamation.intnotes', SELF.reclamation.intnotes, wrap="soft", class="wi-wide") %]
|
|
208 |
[% L.textarea_tag('reclamation.intnotes', SELF.reclamation.intnotes, class="wi-wide") %] |
|
209 | 209 |
</td> |
210 | 210 |
</tr> |
211 | 211 |
|
templates/design40_webpages/shop_part/edit.html | ||
---|---|---|
27 | 27 |
<th>[% LxERP.t8("Description") %]</th> |
28 | 28 |
<td colspan="3"> |
29 | 29 |
[% IF SELF.shop_part.shop.use_part_longdescription %] |
30 |
[% L.textarea_tag('notes', SELF.shop_part.part.notes, wrap="soft", readonly="readonly", style="width: 350px; height: 150px", class="texteditor") %]
|
|
30 |
[% L.textarea_tag('notes', SELF.shop_part.part.notes, readonly="readonly", style="width: 350px; height: 150px", class="texteditor") %] |
|
31 | 31 |
[% ELSE %] |
32 |
[% L.textarea_tag('shop_part.shop_description', SELF.shop_part.shop_description, wrap="soft", style="width: 350px; height: 150px", class="texteditor") %]
|
|
32 |
[% L.textarea_tag('shop_part.shop_description', SELF.shop_part.shop_description, style="width: 350px; height: 150px", class="texteditor") %] |
|
33 | 33 |
[% END %] |
34 | 34 |
</td> |
35 | 35 |
</tr> |
templates/design40_webpages/time_recording/form.html | ||
---|---|---|
69 | 69 |
</tr> |
70 | 70 |
<tr> |
71 | 71 |
<th>[% 'Description' | $T8 %]</th> |
72 |
<td class="wi-wide">[% L.textarea_tag('time_recording.description', SELF.time_recording.description, wrap="soft", style="height: 150px", class="texteditor wi-wide", "data-validate"="required", "data-title"=LxERP.t8('Description')) %]</td>
|
|
72 |
<td class="wi-wide">[% L.textarea_tag('time_recording.description', SELF.time_recording.description, style="height: 150px", class="texteditor wi-wide", "data-validate"="required", "data-title"=LxERP.t8('Description')) %]</td> |
|
73 | 73 |
</tr> |
74 | 74 |
<tr> |
75 | 75 |
<th>[% 'Mitarbeiter' | $T8 %]</th> |
Auch abrufbar als: Unified diff
Design4.0: Überflüssiges wrap=soft Attribut bei textarea_tags entfernt
wrap soft is der Standardwert:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#wrap
Beim ckeditor hat dieses soweit ich sehen kann keine Auswirkung. Falls
das Attribut doch vorhanden sein müsste dann sollte es IMHO in den
presenter eingebaut werden, anstatt in jede template einzeln.