Image doesn't show up when the Text field is empty

Created on 29 April 2021, over 3 years ago
Updated 9 October 2023, 12 months ago

Problem/Motivation

When adding the banner, if no value is provided in the optional "Text" field, the image doesn't show up.
The image shows up again when a value is provided.

Proposed resolution

This is due to current logic set in the twig file (templates/banner_output_template.html.twig). Either revise the template accordingly OR make sure a value is provided in the optional "Text" field.

Remaining tasks

To be patched.

User interface changes

For accessibility, it makes more sense to make the "Text" field a required field.

🐛 Bug report
Status

Fixed

Version

1.0

Component

User interface

Created by

🇨🇦Canada abrlam

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024