mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
add action to delete element from basket
This commit is contained in:
@@ -10,6 +10,11 @@
|
||||
<span>{{ 'action : print' | trans }}</span>
|
||||
</button>
|
||||
<div class="divider"></div>
|
||||
<button class="ui-corner-all TOOL_delete_selection_btn basket_window" data-selection-source="basket">
|
||||
<img src="/assets/common/images/icons/delete-selection.png"/>
|
||||
<span>{{ 'action : supprimer du panier' | trans }}</span>
|
||||
</button>
|
||||
<div class="divider"></div>
|
||||
{% if app.getAclForUser(app.getAuthenticatedUser()).has_right(constant('\\ACL::CANMODIFRECORD')) %}
|
||||
<button class="ui-corner-all TOOL_ppen_btn basket_window" data-selection-source="basket">
|
||||
<img src="/assets/common/images/icons/ppen_history.png"/>
|
||||
@@ -67,7 +72,7 @@
|
||||
|
||||
<button class="ui-corner-all TOOL_trash_btn basket_window" data-selection-source="basket">
|
||||
<img src="/assets/common/images/icons/delete.png"/>
|
||||
<span>{{ 'action : supprimer' | trans }}</span>
|
||||
<span>{{ 'action : supprimer de la base' | trans }}</span>
|
||||
</button>
|
||||
|
||||
{% if plugins['actionbar'] is not empty %}
|
||||
|
@@ -11,6 +11,11 @@
|
||||
<span>{{ 'action : print' | trans }}</span>
|
||||
</button>
|
||||
|
||||
<div class="divider"></div>
|
||||
<button class="ui-corner-all TOOL_delete_selection_btn story_window" data-selection-source="basket">
|
||||
<img src="/assets/common/images/icons/delete-selection.png"/>
|
||||
<span>{{ 'action : supprimer du panier' | trans }}</span>
|
||||
</button>
|
||||
<div class="divider"></div>
|
||||
|
||||
{% if app.getAclForUser(app.getAuthenticatedUser()).has_right(constant('\\ACL::CANMODIFRECORD')) %}
|
||||
@@ -71,7 +76,7 @@
|
||||
<button class="ui-corner-all TOOL_trash_btn story_window" data-selection-source="story">
|
||||
<img src="/assets/common/images/icons/delete.png"/>
|
||||
<input type="hidden" name="story_key" value="{{ Story.get_serialize_key() }}"/>
|
||||
<span>{{ 'action : supprimer' | trans }}</span>
|
||||
<span>{{ 'action : supprimer de la base' | trans }}</span>
|
||||
</button>
|
||||
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user