redactor
This commit is contained in:
@@ -21,16 +21,11 @@
|
||||
</div>
|
||||
</form>
|
||||
{% if check_output %}
|
||||
<div class="mt-3">
|
||||
{% if 'Fatal errors' in check_output or 'error detected while parsing an' in check_output %}
|
||||
<div class="alert alert-danger" role="alert"><pre class="mb-0">{{ check_output }}</pre></div>
|
||||
{% elif 'Warnings' in check_output %}
|
||||
<div class="alert alert-warning" role="alert"><pre class="mb-0">{{ check_output }}</pre></div>
|
||||
{% else %}
|
||||
<div class="alert alert-success" role="alert"><pre class="mb-0">{{ check_output }}</pre></div>
|
||||
{% endif %}
|
||||
<div class="alert alert-{{ check_level|default('success') }}" role="alert">
|
||||
<pre class="mb-0">{{ check_output }}</pre>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user