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

[DOCUMENTATION] ajout de l'appel à contributeurs #542

Merged
merged 3 commits into from
Feb 6, 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
7 changes: 7 additions & 0 deletions lacommunaute/templates/forum/category_forum_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
{% endblock meta_description %}
"
{% block content %}
<section>
<div class="s-section__container container">
<div class="s-section__row row mt-3 mt-md-5">
<div class="s-section__col col-12">{% include 'partials/banners/call_for_contributers.html' %}</div>
</div>
</div>
</section>
<section class="s-title-01 mt-lg-5">
<div class="s-title-01__container container">
<div class="s-title-01__row row">
Expand Down
9 changes: 9 additions & 0 deletions lacommunaute/templates/forum/forum_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@
{% endblock meta_description %}
"
{% block content %}
{% if forum.is_category %}
<section>
<div class="s-section__container container">
<div class="s-section__row row mt-3 mt-md-5">
<div class="s-section__col col-12">{% include 'partials/banners/call_for_contributers.html' %}</div>
</div>
</div>
</section>
{% endif %}
{% get_permission 'can_add_topic' forum request.user as user_can_add_topic %}
<section class="s-title-01 mt-lg-5">
<div class="s-title-01__container container">
Expand Down
6 changes: 4 additions & 2 deletions lacommunaute/templates/forum_conversation/topic_create.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
{% block content %}
<div class="row">
<div class="col-12 mb-3 mb-lg-5">
{% if not user.is_authenticated %}
{% include 'partials/anonymous_banner.html' %}
{% if user.is_authenticated %}
{% include 'partials/banners/emplois_helpdesk.html' %}
{% else %}
{% include 'partials/banners/anonymous_users.html' %}
{% endif %}
</div>
<div class="col-12">
Expand Down
4 changes: 2 additions & 2 deletions lacommunaute/templates/pages/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
<div class="s-section__row row mt-3 mt-md-5">
<div class="s-section__col col-12">
{% if user.is_authenticated %}
{% include 'partials/promotion_banner.html' %}
{% include 'partials/banners/twins_promotion.html' %}
{% else %}
{% include 'partials/anonymous_banner.html' %}
{% include 'partials/banners/anonymous_users.html' %}
{% endif %}
</div>
</div>
Expand Down
19 changes: 19 additions & 0 deletions lacommunaute/templates/partials/banners/call_for_contributers.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<div class="alert alert-success 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="col-auto pe-0">
<i class="ri-megaphone-fill ri-xl text-success"></i>
</div>
<div class="col">
<p class="mb-2">
<strong>C'est le bon moment pour contribuer !</strong>
</p>
<p class="mb-0">
Vous souhaitez mettre en avant une expertise spécifique, et proposer une fiche technique ? Soumettez votre proposition à l'équipe de la communauté. Nous serons ravi de mettre en avant votre contribution !
</p>
</div>
<div class="col-12 col-md-auto mt-3 mt-md-0 d-flex align-items-center justify-content-center">
<a href="https://tally.so/r/n06QxB" class="btn btn-sm btn-primary matomo-event" data-matomo-category="banner" data-matomo-action="clic" data-matomo-option="call_for_contributers">Je soumets mon projet de fiche</a>
</div>
</div>
</div>
Loading