mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
PHRAS-2796_actionbar-enhancements_4.1
fix (contextual menu was rendered in toolbar)
This commit is contained in:
@@ -141,6 +141,7 @@
|
||||
{% if plugins.actionbar is not empty %}
|
||||
{% for plugin in plugins.actionbar %}
|
||||
{% for k, menu in plugin.getActionBar() %}
|
||||
{% if k != '_context_' %}
|
||||
{% set m = menus[k]|default([]) %}
|
||||
{% for action in menu %}
|
||||
{% set m = m|merge([{
|
||||
@@ -150,6 +151,7 @@
|
||||
%}
|
||||
{% endfor %}
|
||||
{% set menus = menus|merge({(k) : m}) %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
Reference in New Issue
Block a user