Allow to customize login and logout messages

Created on 22 November 2019, over 4 years ago
Updated 19 October 2023, 8 months ago

Problem/Motivation

The user messaging from the user action controller does not currently have an easily selectable html wrapper around it. This makes theming the messages difficult - adding a container div around the message would allow for this.

Steps to reproduce

View page source of one of the relevant pages.

Proposed resolution

Add wrappers of divs and classes to the messages. Use a full render tree to allow for others to alter it using render_alter if needed.

Remaining tasks

None.

User interface changes

Divs with classes around user action controller output: invalid service, log-in and logout messages.

API changes

None.

Data model changes

None.

Original post

At this moment, the login and logout messages are not customizable as don't come with a wrapper. Allow the messages to be customized with a wrapper container.

✨ Feature request
Status

Fixed

Version

1.0

Component

User interface

Created by

πŸ‡ͺπŸ‡ΈSpain isholgueras

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.

  • First commit to issue fork.
  • @elc opened merge request.
  • Status changed to RTBC 8 months ago
  • πŸ‡¦πŸ‡ΊAustralia ELC

    Moving to RTBC as this is just a re-arranging of the existing patches which work well.

    Created issue fork to re-roll for current HEAD.

    Added full render tree + same wrappers for all of the messages so they can be themed the same. Added unique classes to each too: cas-message-login, cas-message-logout, cas-message-invalid-service.

    • ELC β†’ committed fd8524db on 8.x-1.x
      Issue #3096168 by isholgueras,ELC,marthinal: Add wrappers and classes...
  • Status changed to Fixed 8 months ago
  • πŸ‡¦πŸ‡ΊAustralia ELC
  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.69.0 2024