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:
parent
8df40a1902
commit
6fe3eafd36
@ -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 %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user