Skip to content

[IMP] Add image option to cards, update guidelines - #19140

Open
fw-bot wants to merge 1 commit into
saas-19.4from
saas-19.4-17.0-add-card-img-nikbr-550645-fw
Open

[IMP] Add image option to cards, update guidelines#19140
fw-bot wants to merge 1 commit into
saas-19.4from
saas-19.4-17.0-add-card-img-nikbr-550645-fw

Conversation

@fw-bot

@fw-bot fw-bot commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

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

image
 .. 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

@robodoo

robodoo commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

Pull request status dashboard

@fw-bot

fw-bot commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator Author

This PR targets saas-19.4 and is part of the forward-port chain. Further PRs will be created up to master.

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants