mirror of
https://github.com/almet/copanier.git
synced 2025-04-28 11:32:38 +02:00
Add "copy emails" button in delivery page
This commit is contained in:
parent
da1af28aaa
commit
a00f64a172
3 changed files with 23 additions and 0 deletions
10
README.md
Normal file
10
README.md
Normal file
|
@ -0,0 +1,10 @@
|
|||
# Copanier
|
||||
|
||||
Gestion de commande groupée minimaliste.
|
||||
|
||||
|
||||
|
||||
# Installation
|
||||
|
||||
Dépendances:
|
||||
- python >= 3.7
|
|
@ -70,6 +70,11 @@
|
|||
{% include "includes/modal_add_command.html" %}
|
||||
{% endwith %}
|
||||
</li>
|
||||
<li>
|
||||
{% with unique_id="copy-emails" %}
|
||||
{% include "includes/modal_copy_emails.html" %}
|
||||
{% endwith %}
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
{% endblock body %}
|
||||
|
|
8
copanier/templates/includes/modal_copy_emails.html
Normal file
8
copanier/templates/includes/modal_copy_emails.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
{% extends "includes/modal.html" %}
|
||||
|
||||
{% block modal_label %}<i class="icon-clipboard"></i> Copier les emails{% endblock modal_label %}
|
||||
{% block modal_body %}
|
||||
<div>
|
||||
<textarea>{{ ",".join(delivery.orders.keys()) }}</textarea>
|
||||
</div>
|
||||
{% endblock modal_body %}
|
Loading…
Reference in a new issue