From d15e69d319bac61ef02b8846d4e1a431253808e4 Mon Sep 17 00:00:00 2001 From: SebastienReuiller Date: Mon, 25 Sep 2023 14:49:58 +0200 Subject: [PATCH] =?UTF-8?q?[Aper=C3=A7u=20du=20besoin]=20Ajout=20du=20bout?= =?UTF-8?q?on=20"R=C3=A9pondre=20en=20co-traitance"=20(#914)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * add cocontracting answer button * add tests to cocontracting visibility * cocontracting btn for anonymous user with siae_id --- lemarche/templates/layouts/base.html | 2 +- .../_detail_cocontracting_click_confirm.html | 6 ++ .../_detail_cocontracting_click_error.html | 5 + .../tenders/_detail_cta_cocontracting.html | 17 ++++ ...tracting_notification_email_admin_body.txt | 8 ++ lemarche/templates/tenders/detail.html | 2 + lemarche/www/tenders/tasks.py | 24 +++++ lemarche/www/tenders/tests.py | 98 ++++++++++++++++++- lemarche/www/tenders/urls.py | 6 ++ lemarche/www/tenders/views.py | 29 ++++++ 10 files changed, 195 insertions(+), 2 deletions(-) create mode 100644 lemarche/templates/tenders/_detail_cocontracting_click_confirm.html create mode 100644 lemarche/templates/tenders/_detail_cocontracting_click_error.html create mode 100644 lemarche/templates/tenders/_detail_cta_cocontracting.html create mode 100644 lemarche/templates/tenders/cocontracting_notification_email_admin_body.txt diff --git a/lemarche/templates/layouts/base.html b/lemarche/templates/layouts/base.html index 25e8297a4..6b5d8af6b 100644 --- a/lemarche/templates/layouts/base.html +++ b/lemarche/templates/layouts/base.html @@ -51,7 +51,7 @@ {% block extra_head %}{% endblock %} - +