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

feat(forum_conversation): filtrer les questions dans l'espace d'echanges - stats de suivi #700

Merged
merged 1 commit into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,7 @@
<p>Je recherche des offres d'emploi ou des entreprises près de chez moi</p>
</div>
<div class="card-footer text-center mt-3">
<button class="btn btn-primary" data-bs-target="#rechercheEmploi" data-bs-toggle="modal" type="button">
J'accède aux emplois de l'inclusion
</button>
<button class="btn btn-primary matomo-event" data-bs-target="#rechercheEmploi" data-bs-toggle="modal" data-matomo-action="topic-create-check" data-matomo-category="engagement" data-matomo-option="itou-jobseeker" type="button">J'accède aux emplois de l'inclusion</button>
</div>
</div>
</div>
Expand All @@ -90,9 +88,7 @@
</p>
</div>
<div class="card-footer text-center mt-3">
<a class="btn btn-primary" href="https://aide.emplois.inclusion.beta.gouv.fr/hc/fr">
J'accède à la documentation des emplois de l'inclusion
</a>
<a class="btn btn-primary matomo-event" data-matomo-action="topic-create-check" data-matomo-category="engagement" data-matomo-option="itou-helpdesk" href="https://aide.emplois.inclusion.beta.gouv.fr/hc/fr">J'accède à la documentation des emplois de l'inclusion</a>
</div>
</div>
</div>
Expand All @@ -107,7 +103,7 @@
</p>
</div>
<div class="card-footer text-center">
<a class="btn btn-primary" href="https://aide.immersion-facile.beta.gouv.fr/fr/">
<a class="btn btn-primary matomo-event" data-matomo-action="topic-create-check" data-matomo-category="engagement" data-matomo-option="pmsmp" href="https://aide.immersion-facile.beta.gouv.fr/fr/">
J'accède au centre d'aide Immersion Facilitée
</a>
</div>
Expand All @@ -124,7 +120,7 @@
</p>
</div>
<div class="card-footer text-center">
<a class="btn btn-primary" href="/forum/forum-[PK of Forum]/topic/create/?checked=1">Je pose ma question à la communauté</a>
<a class="btn btn-primary matomo-event" data-matomo-action="topic-create-check" data-matomo-category="engagement" data-matomo-option="forum" href="/forum/forum-[PK of Forum]/topic/create/?checked=1">Je pose ma question à la communauté</a>
</div>
</div>
</div>
Expand Down
26 changes: 18 additions & 8 deletions lacommunaute/templates/forum_conversation/topic_create_check.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,13 @@ <h3 class="h4">Je suis à la recherche d'un emploi</h3>
<p>Je recherche des offres d'emploi ou des entreprises près de chez moi</p>
</div>
<div class="card-footer text-center mt-3">
<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#rechercheEmploi">
J'accède aux emplois de l'inclusion
</button>
<button type="button"
class="btn btn-primary matomo-event"
data-matomo-action="topic-create-check"
data-matomo-category="engagement"
data-matomo-option="itou-jobseeker"
data-bs-toggle="modal"
data-bs-target="#rechercheEmploi">J'accède aux emplois de l'inclusion</button>
</div>
</div>
</div>
Expand All @@ -40,9 +44,11 @@ <h3 class="h4">J'utilise le site des emplois de l'inclusion</h3>
</p>
</div>
<div class="card-footer text-center mt-3">
<a href="https://aide.emplois.inclusion.beta.gouv.fr/hc/fr" class="btn btn-primary">
J'accède à la documentation des emplois de l'inclusion
</a>
<a href="https://aide.emplois.inclusion.beta.gouv.fr/hc/fr"
class="btn btn-primary matomo-event"
data-matomo-action="topic-create-check"
data-matomo-category="engagement"
data-matomo-option="itou-helpdesk">J'accède à la documentation des emplois de l'inclusion</a>
</div>
</div>
</div>
Expand All @@ -57,7 +63,7 @@ <h3 class="h4">J'accueille des personnes en PMSMP</h3>
</p>
</div>
<div class="card-footer text-center">
<a href="https://aide.immersion-facile.beta.gouv.fr/fr/" class="btn btn-primary">
<a href="https://aide.immersion-facile.beta.gouv.fr/fr/" class="btn btn-primary matomo-event" data-matomo-action="topic-create-check" data-matomo-category="engagement" data-matomo-option="pmsmp">
J'accède au centre d'aide Immersion Facilitée
</a>
</div>
Expand All @@ -74,7 +80,11 @@ <h3 class="h4">Je suis un/une professionnel/le de l'insertion, en formation ou e
</p>
</div>
<div class="card-footer text-center">
<a href="{% url 'forum_conversation:topic_create' forum.slug forum.id %}?checked=1" class="btn btn-primary">Je pose ma question à la communauté</a>
<a href="{% url 'forum_conversation:topic_create' forum.slug forum.id %}?checked=1"
class="btn btn-primary matomo-event"
data-matomo-action="topic-create-check"
data-matomo-category="engagement"
data-matomo-option="forum">Je pose ma question à la communauté</a>
</div>
</div>
</div>
Expand Down
Loading