Problem/Motivation

Radix 6.0.0-beta14 starterkit introduces the item-list.html.twig template (in the templates/dataset folder) which prevents the reset password link to be rendered when a user login block in added to the blocks layout.

Removing the item-list.html.twig template from both the custom theme AND the Radix starterkit brings back the reset password link.

Same behaviour with beta15, beta16 and dev as of April 22th 2024.

Steps to reproduce

With radix 6.0.0-beta13:

  1. create a sub-theme (there is no need for npm watch or build)
  2. place a 'user login' block in any region visible when logged-out
  3. logout
  4. check the login block: reset password link is rendered

With radix 6.0.0-beta14 to beta16:

  1. create a sub-theme (there is no need for npm watch or build)
  2. place a 'user login' block in any region visible when logged-out
  3. logout
  4. check the login block: reset password link is no more rendered

Issue fork radix-3442555

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

PhilY created an issue. See original summary.

aaron.ferris made their first commit to this issue’s fork.

aaron.ferris’s picture

I could well be overlooking something, but the item-list.html.twig template, which in turn uses list-group should (if Core/Olivero is anything to go by) be an array of items with item.value, not item.content.

Ive had a quick look and I can't see another template using list-group, so this may be safe to swap over? (MR)

aaron.ferris’s picture

Status: Active » Needs review

doxigo made their first commit to this issue’s fork.

  • doxigo committed de62d43e on 6.0.x authored by aaron.ferris
    Issue #3442555: item-list.html.twig prevents the reset password link to...
doxigo’s picture

Status: Needs review » Fixed

Good catch Phil, sounds about right to me, and thanks Aaron for the MR, merging

doxigo’s picture

Status: Fixed » Closed (fixed)

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