update twig to 2.9

This commit is contained in:
fowr
2023-03-29 18:59:28 -03:00
parent 08c9929eb0
commit d2bb450b1a
44 changed files with 710 additions and 606 deletions

View File

@@ -36,7 +36,7 @@
<legend>{% trans 'Messages' %}</legend>
<ul>
{% if mod|hasPermission(config.mod.noticeboard) %}
{% if noticeboard|count > 0 %}
{% if noticeboard|length > 0 %}
<li>
{% trans 'Noticeboard' %}:
<ul>
@@ -132,7 +132,7 @@
</fieldset>
{% endif %}
{% if config.mod.dashboard_links and config.mod.dashboard_links|count %}
{% if config.mod.dashboard_links and config.mod.dashboard_links|length %}
<fieldset>
<legend>{% trans 'Other' %}</legend>