Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UX/UI: Modifier l'alignement des badges et supprimer les .text-muted dans la section titre #5491

Merged
merged 3 commits into from
Jan 29, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions itou/templates/approvals/declare_prolongation.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@
{% block title %}Déclarer une prolongation de PASS IAE {{ block.super }}{% endblock %}

{% block title_content %}
<h1>
Déclarer une prolongation de PASS IAE
<br>
<span class="text-muted">{{ approval.user.get_full_name }}</span>
</h1>
<h1>Déclarer une prolongation de PASS IAE pour {{ approval.user.get_full_name }}</h1>
{% endblock %}

{% block content %}
Expand Down
6 changes: 1 addition & 5 deletions itou/templates/approvals/suspension_action_choice.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@
{% block title %}Supprimer la suspension du PASS IAE {{ block.super }}{% endblock %}

{% block title_content %}
<h1>
Supprimer la suspension du PASS IAE de
<br>
<span class="text-muted">{{ suspension.approval.user.get_full_name }}</span>
</h1>
<h1>Supprimer la suspension du PASS IAE de {{ suspension.approval.user.get_full_name }}</h1>
{% endblock %}

{% block content %}
Expand Down
6 changes: 1 addition & 5 deletions itou/templates/approvals/suspension_delete.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@
{% block title %}Supprimer la suspension du PASS IAE {{ block.super }}{% endblock %}

{% block title_content %}
<h1>
Supprimer la suspension du PASS IAE de
<br>
<span class="text-muted">{{ suspension.approval.user.get_full_name }}</span>
</h1>
<h1>Supprimer la suspension du PASS IAE de {{ suspension.approval.user.get_full_name }}</h1>
{% endblock %}

{% block content %}
Expand Down
6 changes: 1 addition & 5 deletions itou/templates/approvals/suspension_update.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@
{% block title %}Modifier la suspension de PASS IAE {{ block.super }}{% endblock %}

{% block title_content %}
<h1>
Modifier la suspension de PASS IAE
<br>
<span class="text-muted">{{ suspension.approval.user.get_full_name }}</span>
</h1>
<h1>Modifier la suspension de PASS IAE de {{ suspension.approval.user.get_full_name }}</h1>
{% endblock %}

{% block content %}
Expand Down
6 changes: 1 addition & 5 deletions itou/templates/approvals/suspension_update_enddate.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@
{% block title %}Supprimer la suspension du PASS IAE {{ block.super }}{% endblock %}

{% block title_content %}
<h1>
Supprimer la suspension du PASS IAE de
<br>
<span class="text-muted">{{ suspension.approval.user.get_full_name }}</span>
</h1>
<h1>Supprimer la suspension du PASS IAE de {{ suspension.approval.user.get_full_name }}</h1>
{% endblock %}

{% block content %}
Expand Down
6 changes: 1 addition & 5 deletions itou/templates/dashboard/edit_job_seeker_info.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@
</div>
{% endblock %}

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

{% block content %}
<section class="s-section">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@

{% block title %}Notifier la sanction du contrôle pour {{ evaluated_siae }} {{ block.super }}{% endblock %}

{% block title_content %}
<h1>
Notifier la sanction du contrôle pour <span class="text-muted">{{ evaluated_siae }}</span>
</h1>
{% endblock %}
{% block title_content %}<h1>Notifier la sanction du contrôle pour {{ evaluated_siae }}</h1>{% endblock %}

{% block content %}
<section class="s-section">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@

{% block title %}Notifier la sanction du contrôle pour {{ evaluated_siae }}{{ block.super }}{% endblock %}

{% block title_content %}
<h1>
Notifier la sanction du contrôle pour <span class="text-muted">{{ evaluated_siae }}</span>
</h1>
{% endblock %}
{% block title_content %}<h1>Notifier la sanction du contrôle pour {{ evaluated_siae }}</h1>{% endblock %}

{% block content %}
<section class="s-section">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@

{% block title %}Notifier la sanction du contrôle pour {{ evaluated_siae }}{{ block.super }}{% endblock %}

{% block title_content %}
<h1>
Notifier la sanction du contrôle pour <span class="text-muted">{{ evaluated_siae }}</span>
</h1>
{% endblock %}
{% block title_content %}<h1>Notifier la sanction du contrôle pour {{ evaluated_siae }}</h1>{% endblock %}

{% block content %}
<section class="s-section">
Expand Down
4 changes: 3 additions & 1 deletion tests/www/siae_evaluations_views/test_institutions_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2058,7 +2058,9 @@ def test_access_final_refused_control_active_campaign(self, client):
kwargs={"evaluated_siae_pk": evaluated_siae.pk},
)
)
assertContains(response, f"Notifier la sanction du contrôle pour {evaluated_siae.siae.name}", count=1)
assertContains(
hellodeloo marked this conversation as resolved.
Show resolved Hide resolved
response, f"Notifier la sanction du contrôle pour {evaluated_siae.siae.name}", html=True, count=1
)
assertContains(
response,
f"""
Expand Down