mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
updated existing plugin interfaces, added basket actionbar plugin interface
This commit is contained in:

committed by
Benoît Burnichon

parent
41d9c18c04
commit
831436f6fe
@@ -58,6 +58,19 @@
|
||||
<img src="/skins/icons/delete.png"/>
|
||||
</button>
|
||||
|
||||
{% if app['plugin.workzone.basket.actionbar'].keys() is not empty %}
|
||||
{% for pluginId in app['plugin.workzone.basket.actionbar'].keys() %}
|
||||
{% for key,action in app['plugin.workzone.basket.actionbar'][pluginId].getBasketActionBar() %}
|
||||
{% set label = action.label %}
|
||||
|
||||
<button class="ui-corner-all basket_window {{ action.classes|default('') }}" title="{% trans label app['plugin.workzone.basket.actionbar'][pluginId].PluginLocale %}">
|
||||
<img src="{{ plugin_asset(app['plugin.workzone.basket.actionbar'][pluginId].PluginName,action.icon) }}"/>
|
||||
</button>
|
||||
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
<div class="alert_datas_changed ui-corner-all">{{ 'Certaines donnees du panier ont change' | trans }} <a class="basket_refresher" href="#">{{ 'rafraichir' | trans }}</a></div>
|
||||
{% if basket_length == 0 %}
|
||||
|
Reference in New Issue
Block a user