summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_view.js
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2018-03-16 18:08:37 +0100
committerRomain Derie <rde@odoo.com>2018-03-22 16:32:51 +0100
commitf5912cbcb3118923bf26a9af566b1a2993f13773 (patch)
tree6d0eb8dd412189018e5ee183c3e9ac8c78ac0a4f /addons/web/static/src/js/views/basic/basic_view.js
parent4787bc7553f31377822648d5f67de0a3bba0e0a2 (diff)
[IMP] website: make it more noticeable when a page is unpublished
Before this commit, 2 usability issues were reported: 1. Some people would get stuck with unpublished content without even knowing it since they would not understand the page is unpublished. 2. People would have a hard time finding the publish button (small toggle on the navbar). Now: 1. We now display a red ribbon on the top right corner specifying the page is unpublished. Hopefully it can't be missed. 2. This publish button will be more visible for unpublished content since it will be red (danger) color. Hopefully people will notice it at first look. Note: It is implemented in a generic way so any 'o_switch' can be turned into this version by simply adding the 'o_switch_danger' class to it. task-44005 Closes #23282
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_view.js')
0 files changed, 0 insertions, 0 deletions