minor clean up on headings, alerts at top of /fix_dups route

This commit is contained in:
2021-02-13 20:30:21 +11:00
parent 49e0a5a797
commit 27e881ea8c
3 changed files with 11 additions and 11 deletions

View File

@@ -109,14 +109,16 @@
{% endif %}
{% if GetJM_Message() != None %}
{% set msg=GetJM_Message() %}
<div class="row alert alert-{{msg.alert}}">
{% if msg.job_id %}
<a href="{{url_for('joblog', id=msg.job_id)}}">Job #{{msg.job_id}}</a>:
{% if url_for(request.endpoint) != "/fix_dups" %}
<div class="row alert alert-{{msg.alert}}">
{% if msg.job_id %}
<a href="{{url_for('joblog', id=msg.job_id)}}">Job #{{msg.job_id}}</a>:
{% endif %}
{{msg.message|safe}}
</div>
{% if msg.alert != "danger" %}
{% set dont_print=ClearJM_Message(msg.id) %}
{% endif %}
{{msg.message|safe}}
</div>
{% if msg.alert != "danger" %}
{% set dont_print=ClearJM_Message(msg.id) %}
{% endif %}
{% endif %}
{% endif %}