Skip to content

Commit

Permalink
feat: add an alert for IAE PASS page survey
Browse files Browse the repository at this point in the history
  • Loading branch information
leo-naeka committed Apr 25, 2024
1 parent ef28c30 commit 4b34608
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 3 deletions.
26 changes: 26 additions & 0 deletions itou/templates/apply/process_details_company.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,38 @@
{% extends "apply/process_base.html" %}
{% load django_bootstrap5 %}
{% load format_filters %}
{% load theme_inclusion %}
{% load matomo %}

{% block actions %}
{% include "apply/includes/siae_hiring_actions.html" with job_application=job_application %}
{% endblock %}

{% block messages %}
{# Temporary advertisement alert #}
<div class="alert alert-important alert-dismissible fade show" role="status">
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Fermer"></button>
<div class="row">
<div class="d-none d-md-inline col-md-auto">
<img src="{% static_theme_images 'ico-bicro-important.svg' %}" alt="" height="80">
</div>
<div class="col-12 col-md px-md-0">
<p class="mb-2">
<strong>Page PASS IAE</strong>
</p>
<p class="mb-0">
Une page dédiée au PASS IAE est actuellement en construction. Vos retours sont importants, aidez-nous en réalisant ce test de 5 minutes.
</p>
</div>
<div class="col-12 col-md-auto mt-3 mt-md-0 d-flex align-items-center justify-content-center">
<a class="btn btn-sm btn-primary" href="https://t.maze.co/228947579" target="_blank" role="button">Accéder au test</a>
</div>
</div>
</div>

{{ block.super }}
{% endblock %}

{% block content_extend %}
{# Job seeker info ------------------------------------------------------------------------- #}
<div class="c-box mb-4">
Expand Down
26 changes: 26 additions & 0 deletions itou/templates/approvals/detail.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,36 @@
{% extends "layout/base.html" %}
{% load theme_inclusion %}
{% load matomo %}

{% block title %}Profil salarié - {{ approval.user.get_full_name }} {{ block.super }}{% endblock %}

{% block content_title %}<h1>{{ approval.user.get_full_name }}</h1>{% endblock %}

{% block messages %}
{# Temporary advertisement alert #}
<div class="alert alert-important alert-dismissible fade show" role="status">
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Fermer"></button>
<div class="row">
<div class="d-none d-md-inline col-md-auto">
<img src="{% static_theme_images 'ico-bicro-important.svg' %}" alt="" height="80">
</div>
<div class="col-12 col-md px-md-0">
<p class="mb-2">
<strong>Page PASS IAE</strong>
</p>
<p class="mb-0">
Une page dédiée au PASS IAE est actuellement en construction. Vos retours sont importants, aidez-nous en réalisant ce test de 5 minutes.
</p>
</div>
<div class="col-12 col-md-auto mt-3 mt-md-0 d-flex align-items-center justify-content-center">
<a class="btn btn-sm btn-primary" href="https://t.maze.co/228947579" target="_blank" role="button">Accéder au test</a>
</div>
</div>
</div>

{{ block.super }}
{% endblock %}

{% block content %}
<section class="s-section">
<div class="s-section__container container">
Expand Down
6 changes: 3 additions & 3 deletions itou/utils/staticfiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,11 +205,11 @@
},
"theme-inclusion": {
"download": {
"url": "https://github.com/gip-inclusion/itou-theme/archive/refs/tags/v1.5.8.zip",
"sha256": "8ae5030ec019df84870380dfee2cf90aa9621a7aa2447dedb1dac1789a2e9e35",
"url": "https://github.com/gip-inclusion/itou-theme/archive/refs/tags/v1.6.1.zip",
"sha256": "89606203853bb1f6b2d536f2c9804686618e4bfc564d3d76ff9b3811f0a7d8b6",
},
"extract": {
"origin": "itou-theme-1.5.8/dist",
"origin": "itou-theme-1.6.1/dist",
"destination": "vendor/theme-inclusion/",
"files": [
"javascripts/app.js",
Expand Down

0 comments on commit 4b34608

Please sign in to comment.