{% macro in_page_alert(heading=null, type="info", compact=false, icon="info") %}
{% if heading %}

{{ heading }}

{% endif %} {{ caller() }}
{% endmacro %} {% macro in_page_info(heading=null, compact=false, icon="info") %} {% set outer_caller = caller %} {% call in_page_alert(heading, "info", compact, icon) %} {{ outer_caller() }} {% endcall %} {% endmacro %} {% macro in_page_error(heading=null, compact=false, icon="error") %} {% set outer_caller = caller %} {% call in_page_alert(heading, "error", compact, icon) %} {{ outer_caller() }} {% endcall %} {% endmacro %} {% macro in_page_warning(heading=null, compact=false, icon="warning") %} {% set outer_caller = caller %} {% call in_page_alert(heading, "warning", compact, icon) %} {{ outer_caller() }} {% endcall %} {% endmacro %} {% macro in_page_success(heading=null, compact=false, icon="check_circle") %} {% set outer_caller = caller %} {% call in_page_alert(heading, "success", compact, icon) %} {{ outer_caller() }} {% endcall %} {% endmacro %}