summaryrefslogtreecommitdiff
path: root/addons/web/static/src/scss/web.zoomodoo.scss
AgeCommit message (Collapse)Author
2019-06-26[IMP] base: Add option on image widget to enable zoomKevin Baptiste
Purpose ======= As the employee picture on a form view is often too small, it should be possible to zoom on it like for products in eCommerce. Specification ============= Added new bool options on FieldBinaryImage: `zoom` and `background`. `zoom` will call zoomOdoo.js and display a popup with the zoomed out image. `background` is used to either display the image as a div element with a background-url (to be used e.g. in a kanban view) or as a standard img element. closes odoo/odoo#33839 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>