Problem/Motivation

The more our templates are flexible and keep up with core, the the easier customization will be. Right now the status messages lacks the twig block wrapper that most of the core themes have in their default templates.

Proposed resolution

Let's add the block wrapper in to the along with the default classes (not removing any classes.) This should be totally backwards compatible and doesn't necessitate any updates to subthemes.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

sim_1 created an issue. See original summary.

sim_1’s picture

^ I removed this in the last update to this template. I think that was a mistake.

sim_1’s picture

Status: Active » Needs review

Ok, added a MR and this is ready for someone to review.

shyam_bhatt’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new41.9 KB
new36.44 KB

I have checked the "merge request !13" working fine.

Before:
<div role="contentinfo" aria-label="Status message" data-closable="fade-out" class="zurb-foundation-callout callout success">
2022-09-27/3300289-5-before.png

After:
<div role="contentinfo" aria-label="Status message" data-closable="fade-out" class="zurb-foundation-callout callout messages messages--status success">
2022-09-27/3300289-5-after.png

sim_1’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for your help reviewing! I'll merge now.

  • sim_1 committed ac52367 on 8.x-6.x
    Issue #3300289 by sim_1, Shyam_Bhatt: Add block wrapper in status-...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.