summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/apps.js
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2019-06-03 14:26:17 +0000
committerJeremy Kersten <jke@odoo.com>2019-06-05 05:56:33 +0000
commit73327db0656bfdd2bce2a69ca1c5c07ad3d3b763 (patch)
tree937ca416396bfdc4b38fc7443c8df9af94efce19 /addons/web/static/src/js/apps.js
parentfbe5b64eb3d962e1c828e77d848f85a8edfcdde8 (diff)
[IMP] *: add debug manager in frontend
Now that the debug mode is stored in session, we need a clear indication that debug mode is activated. In backend, the 'fa-bug' is doing the trick but in frontend there is no visible clue that debug mode is enabled. This commit separate the debug manager code/feature so we can instanciate it in frontend only with usefull options (such as enable assets, leave debug mode..). Now, in frontend, people having access to the navbar (o_main_navbar) will see the same 'fa-bug' icon with minimal options as mentioned above. Also, in the footer, there will be another 'fa-bug' icon without any options. It will be usefull when the navbar is not shown, typically the case for public user, or for portal (without website installed)). Clicking on it will simply leave debug mode as hinted in tooltip. task-1934445 Comes with https://github.com/odoo/enterprise/pull/4281 Closes #33213
Diffstat (limited to 'addons/web/static/src/js/apps.js')
0 files changed, 0 insertions, 0 deletions