Skip to main content

Cookie settings

We use cookies to ensure the basic functionalities of the website and to enhance your online experience. You can choose for each category to opt-in/out whenever you want.

Essential

Preferences

Analytics and statistics

Marketing

This proposal has been accepted

This proposal is accepted by the Product Team to be submitted to the main repository. But due to the current volume of Pull Requests on GitHub, we cannot ensure that this contribution will be reviewed and merged for the next release. We kindly ask you not to send the PR until we notify you.

We'll let you know in the comments when the situation improves and we can review and accept your contributions again. Thanks for your help building together Decidim.

Display the image of an initiative rather than its type

Avatar: Lucie Grau Lucie Grau Accepted / In progress

Is your feature request related to a problem? Please describe.
Currently, the homepage displays an image of the initiative type rather than the initiative itself in the active initiatives block. Unfortunately it does not allow to put forward the images of the initiatives chosen by the authors of initiatives themselves. And this is particularly unfortunate when there is only one type of initiative created on the platform since only one image is displayed on the homepage. Moreover, this does not seem to be completely coherent, or even it can be confusing for users because on the initiative index, it is indeed the attachment image of an initiative that is displayed. 

Describe the solution you'd like
The proposed solution would be that when an initiative has an image attached, it is displayed in the active initiatives block on the homepage. If an initiative does not have an image, then it could be the image of the initiative type that is displayed instead.

See attached screenshots

Screenshot 1: Homepage with images of initiatives selected by users

Screenshot 2: Current homepage with the initiative type image displayed (in case only one initiative type is created)

Describe alternatives you've considered

None

Does this issue could impact on users private data?
No

Funded by

French Economic, Social and Environmental Council

Comment

Confirm

Please log in

The password is too short.

Share