diff options
| author | rde <rde@odoo.com> | 2017-09-18 15:20:41 +0200 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2017-09-25 10:53:28 +0200 |
| commit | acd0b6da14e520d47df30b13cc0197443dedc696 (patch) | |
| tree | 2e62a8aad12d795319b8ddeb24d59c501dc20530 /addons/website/static/src/js/utils.js | |
| parent | 23bf7fc7df6327e480c236ad82520c19f63476d0 (diff) | |
[IMP] website: pageManagement - improvements according to first feedbacks
- labelling and screen redesign (update labels, hide labels, hide fields, ...)
- make UI more mobile friendly (icon biggest, color using less variables,...)
- Page & Redirection menu are for visible only in debug mode
- Add meta noindex for website.page not shown in sitemap
- Add mechanism to be able to edit in backend a broken view
(Needed for - Internal Error 500, css, js file, ...)
- website pagemanager dedicated to website_publisher only
Diffstat (limited to 'addons/website/static/src/js/utils.js')
| -rw-r--r-- | addons/website/static/src/js/utils.js | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/addons/website/static/src/js/utils.js b/addons/website/static/src/js/utils.js index e7f76376480..b00192c87d9 100644 --- a/addons/website/static/src/js/utils.js +++ b/addons/website/static/src/js/utils.js @@ -25,12 +25,7 @@ function autocompleteWithPages(self, $input) { }, }).then(function (exists) { var rs = _.map(exists, function (r) { - if (show_only_website_page_model) { - return r.loc + ' (' + r.name + ')'; - } - else { - return r.loc; - } + return r.loc; }); response(rs); }); |
