Skip to content

Commit

Permalink
feat: new title wording for apply process
Browse files Browse the repository at this point in the history
  • Loading branch information
hellodeloo committed Sep 5, 2024
1 parent b994fb8 commit 1c03698
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 20 deletions.
6 changes: 1 addition & 5 deletions itou/templates/apply/edit_contract_start_date.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@

{% block title %}Modification de la date de contrat {{ block.super }}{% endblock %}

{% block title_content %}
<h1>
Candidature de <span class="text-muted">{{ job_application.job_seeker.get_full_name }}</span>
</h1>
{% endblock %}
{% block title_content %}<h1>Candidature de {{ job_application.job_seeker.get_full_name }}</h1>{% endblock %}

{% block content %}
<section class="s-section">
Expand Down
10 changes: 2 additions & 8 deletions itou/templates/apply/includes/buttons/archive.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,8 @@ <h3 class="modal-title" id="no-email-modal-label">
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Fermer"></button>
</div>
<div class="modal-body">
<div class="container">
<div class="row">
<div class="col">
<p>Vous vous apprêtez à supprimer définitivement cette candidature de votre tableau de bord.</p>
<p>Souhaitez-vous continuer ?</p>
</div>
</div>
</div>
<p>Vous vous apprêtez à supprimer définitivement cette candidature de votre tableau de bord.</p>
<p>Souhaitez-vous continuer ?</p>
</div>
<div class="modal-footer">
<a href="#" class="btn btn-sm btn-outline-primary" data-bs-dismiss="modal" aria-label="Non">Non</a>
Expand Down
10 changes: 10 additions & 0 deletions itou/templates/apply/process_accept.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
{% extends "apply/process_base.html" %}
{% load django_bootstrap5 %}
{% load job_applications %}
{% load static %}
{% load str_filters %}

{% block title_content %}
<div class="d-md-flex align-items-center">
<h1 class="mb-1 mb-md-0 me-3">
Accepter la candidature de {{ job_application.job_seeker.get_full_name|mask_unless:can_view_personal_information }}
</h1>
{% state_badge job_application extra_class="badge-base" %}
</div>
{% endblock %}

{% block content_extend %}
{% include "apply/includes/accept_section.html" %}
{% endblock %}
Expand Down
11 changes: 11 additions & 0 deletions itou/templates/apply/process_eligibility.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
{% extends "apply/process_base.html" %}
{% load job_applications %}
{% load str_filters %}

{% block title_content %}
<div class="d-md-flex align-items-center">
<h1 class="mb-1 mb-md-0 me-3">
Accepter la candidature de {{ job_application.job_seeker.get_full_name|mask_unless:can_view_personal_information }}
</h1>
{% state_badge job_application extra_class="badge-base" %}
</div>
{% endblock %}

{% block content_extend %}
{% include "apply/includes/eligibility_section.html" %}
Expand Down
5 changes: 1 addition & 4 deletions itou/templates/apply/process_geiq_eligibility.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@
{% block title %}Embauche - Eligibilité GEIQ {{ block.super }}{% endblock %}

{% block title_content %}
<h1>
Candidature de
<span class="text-muted">{{ job_seeker.get_full_name|mask_unless:can_view_personal_information }}</span>
</h1>
<h1>Candidature de {{ job_seeker.get_full_name|mask_unless:can_view_personal_information }}</h1>
{% endblock %}

{% block content %}
Expand Down
6 changes: 6 additions & 0 deletions itou/templates/apply/process_postpone.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
{% load str_filters %}
{% load buttons_form %}

{% block title_content %}
<div class="d-md-flex align-items-center mb-3">
<h1 class="mb-1 mb-md-0 me-3">Mettre en attente la candidature de {{ job_application.job_seeker.get_full_name }}</h1>
</div>
{% endblock %}

{% block content_extend %}
<div class="c-form mb-4">
<form method="post" class="js-prevent-multiple-submit">
Expand Down
4 changes: 1 addition & 3 deletions itou/templates/apply/process_refuse.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@

{% block title_content %}
<div class="d-md-flex align-items-center mb-3">
<h1 class="mb-1 mb-md-0 me-3">
Refuser la candidature de <span class="text-muted">{{ job_application.job_seeker.get_full_name }}</span>
</h1>
<h1 class="mb-1 mb-md-0 me-3">Décliner la candidature de {{ job_application.job_seeker.get_full_name }}</h1>
</div>
{% endblock %}

Expand Down

0 comments on commit 1c03698

Please sign in to comment.