Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for different categories of "flash alerts" #594

Merged
merged 1 commit into from Apr 26, 2020

Conversation

zorun
Copy link
Collaborator

@zorun zorun commented Apr 26, 2020

It is now possible to specify a category when calling flash() to change
the color of the alert box. The default category is interpreted as
"success" for backwards compatibility. For now, we only use the
additional "danger" category to show errors.

The available categories are the Bootstrap contextual classes listed here:

https://getbootstrap.com/docs/4.0/components/alerts/

It is now possible to specify a category when calling flash() to change
the color of the alert box.  The default category is interpreted as
"success" for backwards compatibility.  For now, we only use the
additional "danger" category to show errors.

The available categories are the Bootstrap contextual classes listed here:

  https://getbootstrap.com/docs/4.0/components/alerts/
@Glandos Glandos merged commit c509896 into spiral-project:master Apr 26, 2020
@Glandos
Copy link
Member

Glandos commented Apr 26, 2020

Thanks!

zorun pushed a commit to zorun/ihatemoney that referenced this pull request May 21, 2020
TomRoussel pushed a commit to TomRoussel/ihatemoney that referenced this pull request Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants