diff options
| author | qsm-odoo <qsm@odoo.com> | 2019-12-18 00:13:04 +0100 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2019-12-18 00:13:45 +0100 |
| commit | 823397bdd70bca1438f868c19141da46b623fd46 (patch) | |
| tree | 5ab7082e2d7df756b17c27e38af1d9af2f7027a0 | |
| parent | 1dd8794653798d30524c6f48665e51b49e7a10c8 (diff) | |
| parent | 944b90812ad43cfebeb86bec94b6c513d828279c (diff) | |
[REF] website: move s_text_block snippet to dedicated file
| -rw-r--r-- | addons/website/__manifest__.py | 1 | ||||
| -rw-r--r-- | addons/website/views/snippets/s_text_block.xml | 18 | ||||
| -rw-r--r-- | addons/website/views/snippets/snippets.xml (renamed from temp) | 14 |
3 files changed, 19 insertions, 14 deletions
diff --git a/addons/website/__manifest__.py b/addons/website/__manifest__.py index 6395a2fbe1a..ec372b3f5e8 100644 --- a/addons/website/__manifest__.py +++ b/addons/website/__manifest__.py @@ -32,6 +32,7 @@ 'views/snippets/s_text_image.xml', 'views/snippets/s_image_text.xml', 'views/snippets/s_banner.xml', + 'views/snippets/s_text_block.xml', 'views/website_views.xml', 'views/website_visitor_views.xml', 'views/res_config_settings_views.xml', diff --git a/addons/website/views/snippets/s_text_block.xml b/addons/website/views/snippets/s_text_block.xml new file mode 100644 index 00000000000..7d908ec4040 --- /dev/null +++ b/addons/website/views/snippets/s_text_block.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<odoo> + +<template id="s_text_block" name="Text block"> + <section class="s_text_block pt32 pb32"> + <div class="container"> + <div class="row"> + <div class="col-lg-12 pt32 pb32"> + <p class="lead">A great way to catch your reader's attention is to tell a story. <br/>Everything you consider writing can be told as a story.</p> + <p><b>Great stories have personality.</b> Consider telling a great story that provides personality. Writing a story with personality for potential clients will assists with making a relationship connection. This shows up in small quirks like word choices or phrases. Write from your point of view, not from someone else's experience.</p> + <p><b>Great stories are for everyone even when only written for just one person.</b> If you try to write with a wide general audience in mind, your story will ring false and be bland. No one will be interested. Write for one person. If it’s genuine for the one, it’s genuine for the rest.</p> + </div> + </div> + </div> + </section> +</template> + +</odoo> diff --git a/temp b/addons/website/views/snippets/snippets.xml index 9acb79359f8..63d7c0f8e74 100644 --- a/temp +++ b/addons/website/views/snippets/snippets.xml @@ -1,20 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <odoo> -<template id="s_text_block" name="Text block"> - <section class="s_text_block pt32 pb32"> - <div class="container"> - <div class="row"> - <div class="col-lg-12 pt32 pb32"> - <p class="lead">A great way to catch your reader's attention is to tell a story. <br/>Everything you consider writing can be told as a story.</p> - <p><b>Great stories have personality.</b> Consider telling a great story that provides personality. Writing a story with personality for potential clients will assists with making a relationship connection. This shows up in small quirks like word choices or phrases. Write from your point of view, not from someone else's experience.</p> - <p><b>Great stories are for everyone even when only written for just one person.</b> If you try to write with a wide general audience in mind, your story will ring false and be bland. No one will be interested. Write for one person. If it’s genuine for the one, it’s genuine for the rest.</p> - </div> - </div> - </div> - </section> -</template> - <template id="s_features" name="Features"> <section class="s_features pt32 pb32"> <div class="container"> |
