|
227 | 227 | </template>
|
228 | 228 |
|
229 | 229 | <!-- Border -->
|
230 |
| -<template id="snippet_options_border_line_widgets"> |
231 |
| - <we-row t-att-string="label"> |
232 |
| - <we-input data-name="border_width_opt" |
233 |
| - t-att-data-apply-to="apply_to" |
234 |
| - data-select-style="0" |
235 |
| - t-attf-data-css-property="border-#{direction and ('%s-' % direction) or ''}width" |
236 |
| - data-unit="px" |
237 |
| - t-att-data-extra-class="with_bs_class and 'border'" |
238 |
| - t-att-data-variable="width_variable"/> |
239 |
| - <we-select t-attf-data-css-property="border-#{direction and ('%s-' % direction) or ''}style" |
240 |
| - data-dependencies="border_width_opt" |
241 |
| - t-att-data-apply-to="apply_to" |
242 |
| - t-att-data-variable="style_variable"> |
243 |
| - <we-button title="Solid" data-select-style="solid"><div class="o_we_fake_img_item o_we_border_preview" style="border-style: solid;"/></we-button> |
244 |
| - <we-button title="Dashed" data-select-style="dashed"><div class="o_we_fake_img_item o_we_border_preview" style="border-style: dashed;"/></we-button> |
245 |
| - <we-button title="Dotted" data-select-style="dotted"><div class="o_we_fake_img_item o_we_border_preview" style="border-style: dotted;"/></we-button> |
246 |
| - <we-button title="Double" data-select-style="double"><div class="o_we_fake_img_item o_we_border_preview" style="border-style: double; border-left: none; border-right: none;"/></we-button> |
247 |
| - </we-select> |
248 |
| - <we-colorpicker data-dependencies="border_width_opt" |
249 |
| - t-att-data-apply-to="apply_to" |
250 |
| - data-select-style="true" |
251 |
| - t-attf-data-css-property="border-#{direction and ('%s-' % direction) or ''}color" |
252 |
| - data-color-prefix="border-" |
253 |
| - t-att-data-color="color_variable"/> |
254 |
| - </we-row> |
255 |
| -</template> |
256 |
| - |
257 |
| -<template id="snippet_options_border_widgets"> |
258 |
| - <t t-call="mass_mailing.snippet_options_border_line_widgets"> |
259 |
| - <t t-set="label">Border</t> |
260 |
| - <t t-set="with_bs_class" t-value="True"/> |
261 |
| - </t> |
262 |
| - <we-input string="Round Corners" |
263 |
| - t-att-data-apply-to="apply_to" |
264 |
| - t-att-data-dependencies="not so_rounded_no_dependencies and 'border_width_opt,bg_color_opt'" |
265 |
| - data-select-style="0" data-css-property="border-radius" |
266 |
| - data-unit="px" data-extra-class="rounded" |
267 |
| - t-att-data-variable="radius_variable"/> |
268 |
| -</template> |
| 230 | + <!-- TODO @owl-options: remove snippet_options_border_line_widgets and |
| 231 | + snippet_options_border_widgets once everything is refactored. --> |
| 232 | +<!-- <template id="snippet_options_border_line_widgets"> --> |
| 233 | +<!-- <template id="snippet_options_border_widgets"> --> |
269 | 234 |
|
270 | 235 | <template id="snippet_options_background_options" inherit_id="web_editor.snippet_options_background_options" primary="True">
|
271 | 236 | <xpath expr="//div[@data-js='BackgroundImage']" position="attributes">
|
|
333 | 298 | <div data-js="Box"
|
334 | 299 | data-selector=".row > div"
|
335 | 300 | data-exclude=".o_mail_wrapper_td, .s_col_no_bgcolor, .s_col_no_bgcolor.row > div, .s_image_gallery .row > div">
|
336 |
| - <t t-call="mass_mailing.snippet_options_border_widgets"/> |
| 301 | + <!-- TODO @owl-options: do convert & uncomment this. Just commented |
| 302 | + in legacy to avoid errors. --> |
| 303 | + <!-- <t t-call="mass_mailing.snippet_options_border_widgets"/> --> |
337 | 304 | </div>
|
338 | 305 | <div data-js="layout_column"
|
339 | 306 | data-selector=".o_mail_snippet_general"
|
|
468 | 435 | <div data-js="Box"
|
469 | 436 | data-selector=".s_three_columns .row > div, .s_comparisons .row > div, .s_mail_block_event .row > div"
|
470 | 437 | data-target=".card">
|
471 |
| - <t t-call="mass_mailing.snippet_options_border_widgets"> |
| 438 | + <!-- TODO @owl-options: do convert & uncomment this. Just commented |
| 439 | + in legacy to avoid errors. --> |
| 440 | + <!-- <t t-call="mass_mailing.snippet_options_border_widgets"> |
472 | 441 | <t t-set="so_rounded_no_dependencies" t-value="True"/>
|
473 |
| - </t> |
| 442 | + </t> --> |
474 | 443 | </div>
|
475 | 444 | <!-- COLOR, BORDER | .o_mail_block_discount2 -->
|
476 | 445 | <div data-js="Box"
|
477 | 446 | data-selector=".o_mail_block_discount2"
|
478 | 447 | data-target="table">
|
479 |
| - <t t-call="mass_mailing.snippet_options_border_widgets"> |
480 |
| - </t> |
| 448 | + <!-- TODO @owl-options: do convert & uncomment this. Just commented |
| 449 | + in legacy to avoid errors. --> |
| 450 | + <!-- <t t-call="mass_mailing.snippet_options_border_widgets"> |
| 451 | + </t> --> |
481 | 452 | </div>
|
482 | 453 |
|
483 | 454 | <!-- Vertical Alignment -->
|
|
0 commit comments