Merge lp:~openerp-dev/openobject-addons/trunk-website-builder-onboarding-ptr into lp:openobject-addons

Proposed by Paramjit Singh Sahota(OpenERP)
Status: Work in progress
Proposed branch: lp:~openerp-dev/openobject-addons/trunk-website-builder-onboarding-ptr
Merge into: lp:openobject-addons
Diff against target: 96 lines (+28/-5)
4 files modified
website/data/website_data.xml (+7/-0)
website/static/src/js/website.editor.js (+10/-2)
website/static/src/js/website.tour.banner.js (+9/-3)
website/views/snippets.xml (+2/-0)
To merge this branch: bzr merge lp:~openerp-dev/openobject-addons/trunk-website-builder-onboarding-ptr
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+217895@code.launchpad.net
To post a comment you must log in.
9389. By Pariket Trivedi(OpenERP)

[FIX]: when we use the style narrow is not possible to go back trhoug customize-> add style 'Normal'

9390. By Pariket Trivedi(OpenERP)

[IMP]: remove unwanted code.

Unmerged revisions

9390. By Pariket Trivedi(OpenERP)

[IMP]: remove unwanted code.

9389. By Pariket Trivedi(OpenERP)

[FIX]: when we use the style narrow is not possible to go back trhoug customize-> add style 'Normal'

9388. By Paramjit Singh Sahota(OpenERP)

[FIX] Fixed the endTour issue and
Added banner tour step for Close Tutorial

9387. By Pariket Trivedi(OpenERP)

[MERGE]: lp:~openerp/openobject-addons/trunk.

9386. By Pariket Trivedi(OpenERP)

[IMP]: change alert text.

9385. By Pariket Trivedi(OpenERP)

[FIX]: use img button add img and video.

9384. By Pariket Trivedi(OpenERP)

[IMP]: ADD aboutus menu in menubar.

9383. By Pariket Trivedi(OpenERP)

[FIX] Fixed the issue where the tour is not ended when the user click on discard in between the tour.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'website/data/website_data.xml'
--- website/data/website_data.xml 2014-02-10 08:23:25 +0000
+++ website/data/website_data.xml 2014-05-01 09:33:53 +0000
@@ -20,6 +20,13 @@
20 <field name="sequence" type="int">10</field>20 <field name="sequence" type="int">10</field>
21 </record>21 </record>
2222
23 <record id="menu_aboutus" model="website.menu">
24 <field name="name">About us</field>
25 <field name="url">/page/website.aboutus</field>
26 <field name="parent_id" ref="website.main_menu"/>
27 <field name="sequence" type="int">15</field>
28 </record>
29
23 <record id="menu_contactus" model="website.menu">30 <record id="menu_contactus" model="website.menu">
24 <field name="name">Contact us</field>31 <field name="name">Contact us</field>
25 <field name="url">/page/website.contactus</field>32 <field name="url">/page/website.contactus</field>
2633
=== modified file 'website/static/src/js/website.editor.js'
--- website/static/src/js/website.editor.js 2014-04-23 15:48:52 +0000
+++ website/static/src/js/website.editor.js 2014-05-01 09:33:53 +0000
@@ -621,6 +621,9 @@
621 new $.Deferred(function (d) {621 new $.Deferred(function (d) {
622 var $dialog = $(openerp.qweb.render('website.editor.discard')).appendTo(document.body);622 var $dialog = $(openerp.qweb.render('website.editor.discard')).appendTo(document.body);
623 $dialog.on('click', '.btn-danger', function () {623 $dialog.on('click', '.btn-danger', function () {
624 if (website.Tour['timer']) {
625 website.Tour.endTour();
626 }
624 d.resolve();627 d.resolve();
625 }).on('hidden.bs.modal', function () {628 }).on('hidden.bs.modal', function () {
626 d.reject();629 d.reject();
@@ -1396,8 +1399,13 @@
1396 var selection = this.editor.getSelection();1399 var selection = this.editor.getSelection();
1397 var range = selection.getRanges(true)[0];1400 var range = selection.getRanges(true)[0];
1398 this.media = new CKEDITOR.dom.element("img");1401 this.media = new CKEDITOR.dom.element("img");
1399 range.insertNode(this.media);1402 if(range){
1400 range.selectNodeContents(this.media);1403 range.insertNode(this.media);
1404 range.selectNodeContents(this.media);
1405 }
1406 else{
1407 alert(_t("Please select a position where you want to place an image."))
1408 }
1401 this.active.media = this.media;1409 this.active.media = this.media;
1402 }1410 }
14031411
14041412
=== modified file 'website/static/src/js/website.tour.banner.js'
--- website/static/src/js/website.tour.banner.js 2014-04-16 07:46:34 +0000
+++ website/static/src/js/website.tour.banner.js 2014-05-01 09:33:53 +0000
@@ -103,15 +103,21 @@
103 placement: 'right',103 placement: 'right',
104 title: _t("Check Mobile Preview"),104 title: _t("Check Mobile Preview"),
105 content: _t("Scroll to check rendering and then close the mobile preview."),105 content: _t("Scroll to check rendering and then close the mobile preview."),
106 popover: { next: _t("Continue") },106 popover: { fixed: true },
107 },107 },
108 {108 {
109 waitNot: '.modal',109 waitNot: '.modal',
110 element: '#content-menu-button',110 element: '#content-menu-button',
111 placement: 'left',111 placement: 'right',
112 title: _t("Add new pages and menus"),112 title: _t("Add new pages and menus"),
113 content: _t("The 'Content' menu allows you to add pages or add the top menu."),113 content: _t("The 'Content' menu allows you to add pages or add the top menu."),
114 popover: { next: _t("Close Tutorial") },114 popover: { next: _t("Continue") },
115 },
116 {
117 waitNot: '.popover.tour',
118 title: _t("Close"),
119 content: _t("The tutorial is now over, you're ready to create your own website"),
120 popover: { next: _t("Skip It") },
115 },121 },
116 ]122 ]
117 });123 });
118124
=== modified file 'website/views/snippets.xml'
--- website/views/snippets.xml 2014-04-14 14:26:31 +0000
+++ website/views/snippets.xml 2014-05-01 09:33:53 +0000
@@ -839,6 +839,7 @@
839 <li class="dropdown-submenu">839 <li class="dropdown-submenu">
840 <a tabindex="-1" href="#">Style</a>840 <a tabindex="-1" href="#">Style</a>
841 <ul class="dropdown-menu">841 <ul class="dropdown-menu">
842 <li data-value=""><a>Normal</a></li>
842 <li data-value="para_large"><a>Bigger Text</a></li>843 <li data-value="para_large"><a>Bigger Text</a></li>
843 <li data-value="readable"><a>Narrow</a></li>844 <li data-value="readable"><a>Narrow</a></li>
844 </ul>845 </ul>
@@ -963,6 +964,7 @@
963 <li class="dropdown-submenu">964 <li class="dropdown-submenu">
964 <a tabindex="-1" href="#">Style</a>965 <a tabindex="-1" href="#">Style</a>
965 <ul class="dropdown-menu" name="parallax-scroll">966 <ul class="dropdown-menu" name="parallax-scroll">
967 <li data-value=""><a>Normal</a></li>
966 <li data-value="img-rounded"><a>Rounded corners</a></li>968 <li data-value="img-rounded"><a>Rounded corners</a></li>
967 <li data-value="img-thumbnail"><a>Box</a></li>969 <li data-value="img-thumbnail"><a>Box</a></li>
968 <li data-value="img-circle"><a>Circle</a></li>970 <li data-value="img-circle"><a>Circle</a></li>

Subscribers

People subscribed via source and target branches

to all changes: