From 3ecb4f05cee67c0503f68bce4d08ca0521e63ed7 Mon Sep 17 00:00:00 2001 From: Xavier Fernandez Date: Mon, 15 Jul 2024 11:37:01 +0200 Subject: [PATCH] companies: add button to other jobs in job description card --- .../companies/job_description_card.html | 10 +++- .../__snapshots__/test_card_views.ambr | 52 ++++++++++++++++++- tests/www/companies_views/test_card_views.py | 9 +++- 3 files changed, 68 insertions(+), 3 deletions(-) diff --git a/itou/templates/companies/job_description_card.html b/itou/templates/companies/job_description_card.html index c76ddfcf62..190b6e0a14 100644 --- a/itou/templates/companies/job_description_card.html +++ b/itou/templates/companies/job_description_card.html @@ -52,6 +52,14 @@

Actions rapides

{% endif %} + {% if others_active_jobs and not siae.block_job_applications %} +
+ + + Voir tous les métiers + +
+ {% endif %}
''' # --- -# name: JobDescriptionCardViewTest.test_card_tally_url_with_user +# name: JobDescriptionCardViewTest.test_card_tally_url_with_user[with_other_jobs] + ''' +
+

Actions rapides

+
+ + + + + + + +
+ + +
+ +
+
+ ''' +# --- +# name: JobDescriptionCardViewTest.test_card_tally_url_with_user[without_other_jobs] '''

Actions rapides

@@ -576,6 +625,7 @@
+