summaryrefslogtreecommitdiff
path: root/addons/website/static/src/js/website.contentMenu.js
AgeCommit message (Collapse)Author
2016-07-20[FIX] web_editor,website: allow creating pages from edit menuqsm-odoo
The code for page creation from menu edition dialog was there but invisible to the user because of a wrong qweb template inheritance. Indeed, the edit menu dialog relies on an extension of the link dialog template. But this one is extended in-place in another location and that extension is not considered when the second extension is made because a t-extend always use the base template. The only solution to achieve the same result is to copy the edit menu dialog qweb extension in Javascript. Note: the feature was still available from the link dialog in page edition though because this was not concerned by the wrong qweb extension. However, adding a page by this way would create multiple pages because one was created each time a page name was entered (and not only on save !). So typing "test", then changing its mind and typing "hello", then rechanging to "test", then hitting the save button created the "test, "test-1", "test-2" and "hello" pages. This fix takes advantage of an already present parameter which can determine if a new page should be created or not. However, a code refactoring should be done in master for these classes.
2015-12-02[FIX] website, web_editor: open in new windowNicolas Martinelli
The field `isNewWindow` is used to open a link in a new tab. In this case, the field newWindow was used, and therefore the property was not applied. opw-657510
2015-10-02[FIX] website: broken rename_page JS methodXavier Morel
Variables had been renamed/replaced everywhere except rename_page.
2015-07-10[IMP] web_editor: adapt css, js and xml to use web_editorChristophe Matthieu
2015-05-19[FIX] website: Open edit menu dialogJigar Patel
2015-04-17[MERGE] forward port of branch saas-6 up to e941c0fChristophe Simonis
2015-04-08[FIX] website: allow to rename a website page.Jeremy Kersten
Code from delete_page has been spliited (functions, templates, ...) to be re-usable by rename_page Change default input type from website.prompt. Old default value 'text' had no sense, there are no tag <text>.
2015-03-18[IMP] web+addons: improvement to module systemGéry Debongnie
The module system needs to know the dependencies of a given module before executing the function. This is why the dependencies were defined once in an array, and then were described one more times in the call to require. But a trick can simplify this: the boot function can parse the string representation of the module and extract the calls to require from it. It is more work for the processor, but it leads to simpler module definitions.
2015-03-18[REF] website: update to the new module systemGéry Debongnie
2015-03-17[IMP] website_blog : onboarding. The cover image of a blog post is editable ↵Hitesh Trivedi
(opacity, color, size, ...). Add a new tour, views improvements and new default images
2015-02-11[IMP] website: menu editor open a modal to select the menu to edit if more ↵Christophe Matthieu
of one menu in the page (like event)
2015-01-29[IMP] website: allow to delete page - fix 440 - forum Q47292Jeremy Kersten
2015-01-05[IMP] website: use the new summernote editorChristophe Matthieu
2014-12-17[ADD] Add the website_links module.Julien De Coster
This module tracks clicks in mass mailing mails and allow the generation of trackable links in a website interface. Modules modifications --------------------- Refractoring of the crm_tracking_* classes in a new module. * Extract the crm_tracking_* from the crm module into a new module "utm" * Remove the crm_mass_mailing bridge module * New dependencies of mass_mailing and website_links to utm.
2014-07-02[FIX] website: customize menu stay empty if it's open to quick. Don't throw ↵Christophe Matthieu
an exception when the tour have an error: log error and close tour.
2014-06-27[MERGE] backend front end integrationSimon Lejeune
Render the top-menu (backend menu or frontend editbar) server-side. Use Fontawesome icons (mail, timezone, chat). Refactor website widgets, split Website.editorBarin editorbar, ace, editorbar- content, editorbarCustomize.