Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • Can't display alert messages across all pages in customer-facing portal

    Posted on

    Hello there,

    I would like to have the messages for any given user's "limit-reached" alerts display at the top of the screen across all pages until they either upgrade their plan or close the alert manually.

    My questions:
    1. Can anyone confirm that the alert.message value should be available site-wide?
    2. Assuming that these alert messages are available site-wide, how would I access them? Here is the test code I'm using....

    APPLICATION ALERTS

    {% for application in current_account.applications %} THIS IS AN APPLICATION: {{ application.name }}
    {% for alert in application.alerts %} THIS IS AN ALERT:
    {{alert.message}} {% endfor %} {% endfor %}

    ...and below is what shows up on screen:


    THIS IS AN APPLICATION: Application Alert Test
    THIS IS AN ALERT:
    Liquid error: undefined method

    to_liquid' for # THIS IS AN ALERT:
    Liquid error: undefined method
    to_liquid' for # THIS IS AN ALERT:
    Liquid error: undefined method
    to_liquid' for # THIS IS AN ALERT:
    Liquid error: undefined method
    to_liquid' for #


    Anyone have any ideas with regards to these 2 questions?

    Thanks!

    Doron

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat