add action to delete element from basket

This commit is contained in:
Mike Ng
2018-06-13 13:53:34 +04:00
parent dff837fede
commit def58e35ac
11 changed files with 1096 additions and 762 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:jms="urn:jms:translation" version="1.2">
<file date="2018-05-30T11:57:35Z" source-language="en" target-language="de" datatype="plaintext" original="not.available">
<file date="2018-06-13T09:50:07Z" source-language="en" target-language="de" datatype="plaintext" original="not.available">
<header>
<tool tool-id="JMSTranslationBundle" tool-name="JMSTranslationBundle" tool-version="1.1.0-DEV"/>
<note>The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.</note>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:jms="urn:jms:translation" version="1.2">
<file date="2018-05-30T11:58:18Z" source-language="en" target-language="en" datatype="plaintext" original="not.available">
<file date="2018-06-13T09:50:50Z" source-language="en" target-language="en" datatype="plaintext" original="not.available">
<header>
<tool tool-id="JMSTranslationBundle" tool-name="JMSTranslationBundle" tool-version="1.1.0-DEV"/>
<note>The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.</note>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:jms="urn:jms:translation" version="1.2">
<file date="2018-05-30T11:59:12Z" source-language="en" target-language="fr" datatype="plaintext" original="not.available">
<file date="2018-06-13T09:51:40Z" source-language="en" target-language="fr" datatype="plaintext" original="not.available">
<header>
<tool tool-id="JMSTranslationBundle" tool-name="JMSTranslationBundle" tool-version="1.1.0-DEV"/>
<note>The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.</note>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:jms="urn:jms:translation" version="1.2">
<file date="2018-05-30T12:00:17Z" source-language="en" target-language="nl" datatype="plaintext" original="not.available">
<file date="2018-06-13T09:52:34Z" source-language="en" target-language="nl" datatype="plaintext" original="not.available">
<header>
<tool tool-id="JMSTranslationBundle" tool-name="JMSTranslationBundle" tool-version="1.1.0-DEV"/>
<note>The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.</note>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@@ -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 %}

View File

@@ -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>