{% spaceless %}
- {% for icon in route.icons %}
+ {% if menu.extras.icons is defined %}
+ {% for icon in menu.extras.icons %}
{% endfor %}
+ {% endif %}
{% endspaceless %}
diff --git a/Resources/views/Menu/user.html.twig b/Resources/views/Menu/user.html.twig
index 5920d83cc..7f5156378 100644
--- a/Resources/views/Menu/user.html.twig
+++ b/Resources/views/Menu/user.html.twig
@@ -1,5 +1,5 @@
{#
- * Copyright (C) 2014-2015, Champs Libres Cooperative SCRLFS,
+ * Copyright (C) 2014-2015, Champs Libres Cooperative SCRLFS,
/
*
* This program is free software: you can redistribute it and/or modify
@@ -16,16 +16,27 @@
* along with this program. If not, see .
#}
-
{{ 'This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License'|trans|raw }}
{{ 'User manual'|trans }}