toats notifications in the web
This commit is contained in:
@@ -15,9 +15,10 @@
|
||||
#}
|
||||
{% import "ui/alert.html" as panel_alert %}
|
||||
{% import "ui/dialog.html" as panel_dialog %}
|
||||
{% import "ui/toast.html" as panel_toast %}
|
||||
{% if standalone_column_panel %}
|
||||
{%- if let Some(message) = page.error %}{% call panel_alert::error("Could not add the column", message) %}{% endcall %}{% endif -%}
|
||||
{%- if let Some(message) = page.status %}{% call panel_alert::success("Staged", message) %}{% endcall %}{% endif -%}
|
||||
{%- if let Some(message) = page.status %}{% call panel_toast::success("Staged", message) %}{% endcall %}{% endif -%}
|
||||
{%- if let Some(message) = page.error %}{% call panel_dialog::error("Could not add the column", message) %}{% endcall %}{% endif -%}
|
||||
{% endif %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user