diff --git a/lacommunaute/templates/forum/category_forum_list.html b/lacommunaute/templates/forum/category_forum_list.html index 874527b26..d900d8e08 100644 --- a/lacommunaute/templates/forum/category_forum_list.html +++ b/lacommunaute/templates/forum/category_forum_list.html @@ -8,6 +8,13 @@ {% endblock meta_description %} " {% block content %} +
+
+
+
{% include 'partials/banners/call_for_contributers.html' %}
+
+
+
diff --git a/lacommunaute/templates/forum/forum_detail.html b/lacommunaute/templates/forum/forum_detail.html index 39980659c..d8fb42797 100644 --- a/lacommunaute/templates/forum/forum_detail.html +++ b/lacommunaute/templates/forum/forum_detail.html @@ -12,6 +12,15 @@ {% endblock meta_description %} " {% block content %} + {% if forum.is_category %} +
+
+
+
{% include 'partials/banners/call_for_contributers.html' %}
+
+
+
+ {% endif %} {% get_permission 'can_add_topic' forum request.user as user_can_add_topic %}
diff --git a/lacommunaute/templates/forum_conversation/topic_create.html b/lacommunaute/templates/forum_conversation/topic_create.html index 449cd1fc2..959e9e23f 100644 --- a/lacommunaute/templates/forum_conversation/topic_create.html +++ b/lacommunaute/templates/forum_conversation/topic_create.html @@ -7,8 +7,10 @@ {% block content %}
- {% 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 %}
diff --git a/lacommunaute/templates/pages/home.html b/lacommunaute/templates/pages/home.html index 2a1622510..47effc055 100644 --- a/lacommunaute/templates/pages/home.html +++ b/lacommunaute/templates/pages/home.html @@ -20,9 +20,9 @@
{% 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 %}
diff --git a/lacommunaute/templates/partials/anonymous_banner.html b/lacommunaute/templates/partials/banners/anonymous_users.html similarity index 100% rename from lacommunaute/templates/partials/anonymous_banner.html rename to lacommunaute/templates/partials/banners/anonymous_users.html diff --git a/lacommunaute/templates/partials/banners/call_for_contributers.html b/lacommunaute/templates/partials/banners/call_for_contributers.html new file mode 100644 index 000000000..f48794c14 --- /dev/null +++ b/lacommunaute/templates/partials/banners/call_for_contributers.html @@ -0,0 +1,19 @@ +
+ +
+
+ +
+
+

+ C'est le bon moment pour contribuer ! +

+

+ 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 ! +

+
+ +
+
diff --git a/lacommunaute/templates/partials/banner.html b/lacommunaute/templates/partials/banners/emplois_helpdesk.html similarity index 100% rename from lacommunaute/templates/partials/banner.html rename to lacommunaute/templates/partials/banners/emplois_helpdesk.html diff --git a/lacommunaute/templates/partials/promotion_banner.html b/lacommunaute/templates/partials/banners/twins_promotion.html similarity index 100% rename from lacommunaute/templates/partials/promotion_banner.html rename to lacommunaute/templates/partials/banners/twins_promotion.html