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 ca5078b commit 2bc6195
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 4 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 content_title %}
{{ block.super }}

{# 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>
{% endblock %}

{% block content_extend %}
{# Job seeker info ------------------------------------------------------------------------- #}
<div class="c-box mb-4">
Expand Down
26 changes: 25 additions & 1 deletion itou/templates/approvals/detail.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,33 @@
{% 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 content_title %}
<h1>{{ approval.user.get_full_name }}</h1>

{# 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>
{% endblock %}

{% block content %}
<section class="s-section">
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.6.zip",
"sha256": "5adcffce81430dc7c59453070754d43c0086da313c087bcdfcc922a385bfb9bc",
"url": "https://github.com/gip-inclusion/itou-theme/archive/refs/tags/v1.6.1.zip",
"sha256": "89606203853bb1f6b2d536f2c9804686618e4bfc564d3d76ff9b3811f0a7d8b6",
},
"extract": {
"origin": "itou-theme-1.5.6/dist",
"origin": "itou-theme-1.6.1/dist",
"destination": "vendor/theme-inclusion/",
"files": [
"javascripts/app.js",
Expand Down

0 comments on commit 2bc6195

Please sign in to comment.