summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml
diff options
context:
space:
mode:
authorBhavita Bhatt <bbh@odoo.com>2019-12-16 10:49:14 +0000
committerJeremy Kersten <jke@odoo.com>2020-02-11 15:30:10 +0000
commit4e340cc5f0c1fe9de17a2b852de4faf65a33926a (patch)
tree036fc88dcebacfe1036ec2ec3942af5989587807 /addons/website/static/src/xml
parent4e162a4e7559491af651ab8da197fb16a5212bb0 (diff)
[IMP] website: improve code for duplicate and new page
in this commit, throw the wizard to enter the new page name, while duplicating page button and new duplicate page button added in the page properties dialog. updated the test case related to duplicate page along with duplicate menu consideration. task-2088546 closes #40085 Co-authored-by: jpr-odoo <jpr@openerp.com>
Diffstat (limited to 'addons/website/static/src/xml')
-rw-r--r--addons/website/static/src/xml/website.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/addons/website/static/src/xml/website.xml b/addons/website/static/src/xml/website.xml
index d4193d7cbc2..a8af566ecfb 100644
--- a/addons/website/static/src/xml/website.xml
+++ b/addons/website/static/src/xml/website.xml
@@ -76,4 +76,13 @@
</div>
<t t-call="website.dependencies"/>
</div>
+
+ <div t-name="website.duplicate_page_action_dialog">
+ <div class="form-group row">
+ <label class="col-form-label col-md-3" for="page_name">Page Name</label>
+ <div class="col-md-9">
+ <input type="text" class="form-control" id="page_name"/>
+ </div>
+ </div>
+ </div>
</templates>