{% if not InDBox %} {% import "bootstrap/wtf.html" as wtf %} {% if GetMessage()|length %}
{{ GetMessage()|safe}} {{ ClearStatus() }}
{% endif %} {% if GetJM_Message() != None %} {% set msg=GetJM_Message() %} {% if request.endpoint != "fix_dups" and request.endpoint != "rm_dups" %}
{% if msg.job_id %} Job #{{msg.job_id}}: {% endif %} {{msg.message|safe}}
{# if a JM is a danger message, allow code to remove the status, it should be 'permanent' until addressed -- e.g. you have duplicates, fix them #} {% if msg.alert != "danger" %} {% set dont_print=ClearJM_Message(msg.id) %} {% endif %} {% endif %} {% endif %} {% endif %} {% block main_content %} {% endblock main_content %} {% if not InDBox %} {%block script_content %}{% endblock script_content %} {% endif %}