update twig to 2.9
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user