1
0
mirror of https://github.com/typemill/typemill.git synced 2025-01-17 21:38:25 +01:00

Display missing requirements properly

Fix `setup.twig` to display missing requirements errors properly (instead of "Array").
This commit is contained in:
aurel-g 2020-07-14 18:34:19 +02:00 committed by GitHub
parent 8df40a1902
commit 6fe3eafd36
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 %}