Tableau de bord: mise à jour de l'encart du PASS pour les candidats [GEN-2122]#4947
Merged
xavfernandez merged 4 commits intomasterfrom Nov 6, 2024
Merged
Conversation
|
🥁 La recette jetable est prête ! 👉 Je veux tester cette PR ! |
24f3412 to
a0f8c8c
Compare
xavfernandez
commented
Oct 18, 2024
Comment on lines
+81
to
+102
| {% if job_seeker_help_text|default:"" == "waiting_period_with_valid_diagnosis" %} | ||
| <hr class="my-3 my-md-4"> | ||
| <p class="fs-sm mb-0"> | ||
| Un prescripteur habilité a réalisé un diagnostic d'éligibilité. <strong>Vous pouvez commencer un nouveau parcours.</strong> | ||
| </p> | ||
| {% elif job_seeker_help_text|default:"" == "waiting_period_without_diagnosis" %} | ||
| <hr class="my-3 my-md-4"> | ||
| <p class="fs-sm mb-0">Vous avez terminé un parcours il y a moins de deux ans.</p> | ||
| <p class="fs-sm my-0"> | ||
| Pour prétendre à nouveau à un parcours en structure d'insertion par l'activité économique vous devez rencontrer un prescripteur | ||
| habilité : France Travail, Mission Locale, Cap emploi, etc. | ||
| </p> | ||
| {% endif %} |
Contributor
Author
There was a problem hiding this comment.
J'hésite avec:
Suggested change
| {% if job_seeker_help_text|default:"" == "waiting_period_with_valid_diagnosis" %} | |
| <hr class="my-3 my-md-4"> | |
| <p class="fs-sm mb-0"> | |
| Un prescripteur habilité a réalisé un diagnostic d'éligibilité. <strong>Vous pouvez commencer un nouveau parcours.</strong> | |
| </p> | |
| {% elif job_seeker_help_text|default:"" == "waiting_period_without_diagnosis" %} | |
| <hr class="my-3 my-md-4"> | |
| <p class="fs-sm mb-0">Vous avez terminé un parcours il y a moins de deux ans.</p> | |
| <p class="fs-sm my-0"> | |
| Pour prétendre à nouveau à un parcours en structure d'insertion par l'activité économique vous devez rencontrer un prescripteur | |
| habilité : France Travail, Mission Locale, Cap emploi, etc. | |
| </p> | |
| {% endif %} | |
| {% if extra_text|default:"" %} | |
| <hr class="my-3 my-md-4"> | |
| {{ extra_text }} | |
| {% endif %} |
et laisser la vue injecter son mark_safe/format_html en variable.
Contributor
There was a problem hiding this comment.
Je pense que je préfère le 1er.
Le second a l'avantage de permettre de mettre ce qu'on veut (si on veut 15 versions possibles) mais
- je ne pense pas qu'on en aura vraiment beaucoup plus.
- il faut mettre les balises html dans le code python (ce que je préfère éviter quand je peux)
- ou alors passer un
extra_textset faire{% for extra_text in extras_texts %}mais c'est encore plus compliqué pour pas grand chose
a0f8c8c to
51283c9
Compare
tonial
approved these changes
Oct 19, 2024
Comment on lines
+81
to
+102
| {% if job_seeker_help_text|default:"" == "waiting_period_with_valid_diagnosis" %} | ||
| <hr class="my-3 my-md-4"> | ||
| <p class="fs-sm mb-0"> | ||
| Un prescripteur habilité a réalisé un diagnostic d'éligibilité. <strong>Vous pouvez commencer un nouveau parcours.</strong> | ||
| </p> | ||
| {% elif job_seeker_help_text|default:"" == "waiting_period_without_diagnosis" %} | ||
| <hr class="my-3 my-md-4"> | ||
| <p class="fs-sm mb-0">Vous avez terminé un parcours il y a moins de deux ans.</p> | ||
| <p class="fs-sm my-0"> | ||
| Pour prétendre à nouveau à un parcours en structure d'insertion par l'activité économique vous devez rencontrer un prescripteur | ||
| habilité : France Travail, Mission Locale, Cap emploi, etc. | ||
| </p> | ||
| {% endif %} |
Contributor
There was a problem hiding this comment.
Je pense que je préfère le 1er.
Le second a l'avantage de permettre de mettre ce qu'on veut (si on veut 15 versions possibles) mais
- je ne pense pas qu'on en aura vraiment beaucoup plus.
- il faut mettre les balises html dans le code python (ce que je préfère éviter quand je peux)
- ou alors passer un
extra_textset faire{% for extra_text in extras_texts %}mais c'est encore plus compliqué pour pas grand chose
e13f4a3 to
c98c7e2
Compare
francoisfreitag
approved these changes
Nov 5, 2024
cef84b5 to
255c760
Compare
e988f3c to
8a2d0c5
Compare
8a2d0c5 to
38af4e9
Compare
38af4e9 to
9f977b0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤔 Pourquoi ?
Cohérence avec le reste de la refonte.
🍰 Comment ?
En utilisant l'include existant. Comme on a tout de même encore pas mal d'agréments en période de carence, j'ai pris le partie de les afficher a minima en réutilisant le même gabarit.
🚨 À vérifier
🏝️ Comment tester
Le plus simple est de se connecter avec:
et tester les différents cas:
💻 Captures d'écran