Merge pull request #182 from aurel-g/master

Display missing requirements properly
This commit is contained in:
trendschau 2020-07-14 18:50:17 +02:00 committed by GitHub
commit c17a7caf1a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,11 +7,13 @@
{% if systemcheck %}
<h2>Missing Requirements</h2>
<ul style="color:red;padding: 0 14px">
{% for systemerror in systemcheck %}
<li style="margin: 5px 0">{{ systemerror }}</li>
{% endfor %}
</ul>
{% if systemcheck.error %}
<ul style="color:red;padding: 0 14px">
{% for systemerror in systemcheck.error %}
<li style="margin: 5px 0">{{ systemerror }}</li>
{% endfor %}
</ul>
{% endif %}
{% endif %}
<div class="authformWrapper">
@ -48,4 +50,4 @@
</div>
</div>
{% endblock %}
{% endblock %}