only show close button when its not a success message that is not a checkdups
This commit is contained in:
@@ -126,7 +126,7 @@
|
||||
{% set msg=GetJM_Message() %}
|
||||
{% if request.endpoint != "fix_dups" and request.endpoint != "rm_dups" %}
|
||||
<div class="py-2 mx-1 alert alert-{{msg.alert}}">
|
||||
{% if msg.job.name != "checkdups" %}
|
||||
{% if msg.alert != "success" and msg.job.name != "checkdups" %}
|
||||
<form id="_dismiss" action="{{url_for('clear_jm_msg', id=msg.id)}}" method="POST">
|
||||
<button type="button" class="close btn border-secondary me-3" aria-label="Close" onClick="$('#_dismiss').submit()">
|
||||
<span aria-hidden="true">×</span>
|
||||
|
||||
Reference in New Issue
Block a user