diff options
| author | Patrick Hoste <pko@odoo.com> | 2019-08-13 11:26:14 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2019-08-13 11:28:51 +0000 |
| commit | 82d563b035cf53f238635f6e0dbf4513204b8007 (patch) | |
| tree | 451ebe8250763a3cd08d841144b9882653478279 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | d4de4cd94aa5fe77490d93f5397fa62e697ac945 (diff) | |
[REF] web: make ribbon widget great and user friendly
PURPOSE
Have a nice ribbon widget to display state of records: part II
SPECIFICATIONS
A POC for a new ribbon widget has been recently introduced at 02fbb737b96ab8e35123219db5cdcc008729953b.
It adds a ribbon on the top right of a form to make some status more visible
and more user friendly. This commit greatly improves the design of this
ribbon in order to have a real ribbon.
You have to specify the text attribute to show the text on the ribbon.
You can also specify a bg_color attribute to color the background with a
bootstrap background color class according to the business meaning of the
flag displayed in the ribbon.
LINKS
Task ID : 2032621
PR : #34662
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
