odoo/documentation#19140
Created by fw-bot
Blocked
- Merge method
- Review
-
CI
- ci/documentation: (runtime 1040s)
- ci/codeowner_coverage: (runtime 9s)
- label
- odoo-dev:saas-19.4-17.0-add-card-img-nikbr-550645-fw
- head
- ec65bb9b03772ab2f862b6d5ae7a84f1176bc8d7
| odoo/documentation | |
|---|---|
| 17.0 | #18946 |
| 18.0 | #19131 missing r+ |
| saas-18.3 | #19132 missing r+ |
| saas-18.4 | #19133 missing r+ |
| 19.0 | #19135 missing r+ |
| saas-19.1 | #19136 missing r+ |
| saas-19.2 | #19137 missing r+ |
| saas-19.3 | #19139 missing r+ |
| saas-19.4 | #19140 missing r+ |
| master | #19141 missing r+ |
[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.
Forward-Port-Of: #18946