odoo/documentation#18946
Created by Documentation, Niki Brown (nikbr)
Blocked
- Merge method
- Review
-
CI
- ci/documentation: (runtime 1311s)
- ci/codeowner_coverage: (runtime 4s)
- label
- odoo-dev:17.0-add-card-img-nikbr
- head
- 4cf4f1226fbd1133ff8b8ca677ac7639cce5e34c
| odoo/documentation | |
|---|---|
| 17.0 | #18946 missing r+ |
| 18.0 | |
| saas-18.3 | |
| saas-18.4 | |
| 19.0 | |
| saas-19.1 | |
| saas-19.2 | |
| saas-19.3 | |
| saas-19.4 | |
| master |
[IMP] Add image option to cards, update guidelines
Summary:
Extends the custom Card RST directive to allow for images and alt text based on bootstrap conventions. Added an example in the guidelines and tweaked layout javascript to make card images render correctly.
Task: https://www.odoo.com/odoo/project/3835/tasks/6393116
<img width="1707" height="994" alt="image" src="https://github.com/user-attachments/assets/14e89b9b-4997-4cb3-abc2-3866d3605bab" />
.. card:: Card with image
:target: ../documentation
:large:
:image: placeholder-card-image.png
:alt: Placeholder card image
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor.
This 17.0 PR can be FWP up to master.