diff --git a/lacommunaute/templates/forum_conversation/partials/social_share_buttons.html b/lacommunaute/templates/forum_conversation/partials/social_share_buttons.html deleted file mode 100644 index ffdb6c7f2..000000000 --- a/lacommunaute/templates/forum_conversation/partials/social_share_buttons.html +++ /dev/null @@ -1,13 +0,0 @@ -{% load i18n %} -{% load social_share %} - - - diff --git a/lacommunaute/templates/forum_conversation/topic_detail.html b/lacommunaute/templates/forum_conversation/topic_detail.html index d9261e937..ce6bad837 100644 --- a/lacommunaute/templates/forum_conversation/topic_detail.html +++ b/lacommunaute/templates/forum_conversation/topic_detail.html @@ -66,7 +66,7 @@

{{ topic.subject }}

{% include "forum_conversation/partials/topic_detail_actions.html" %}
- {% include "forum_conversation/partials/social_share_buttons.html" with topic=topic %} + {% include "partials/social_share_buttons.html" with text=topic.subject instance=topic %}
diff --git a/lacommunaute/templates/forum_conversation/topic_list.html b/lacommunaute/templates/forum_conversation/topic_list.html index 663e74b48..e60c4979c 100644 --- a/lacommunaute/templates/forum_conversation/topic_list.html +++ b/lacommunaute/templates/forum_conversation/topic_list.html @@ -103,7 +103,7 @@ {% include "forum_conversation/partials/topic_detail_actions.html" with posts_count=topic.posts_count %}
- {% include "forum_conversation/partials/social_share_buttons.html" with topic=topic %} + {% include "partials/social_share_buttons.html" with text=topic.subject instance=topic %}
{% empty %} diff --git a/lacommunaute/templates/forum_conversation/topic_list_newsfeed.html b/lacommunaute/templates/forum_conversation/topic_list_newsfeed.html index 2bf51f29e..291e9beba 100644 --- a/lacommunaute/templates/forum_conversation/topic_list_newsfeed.html +++ b/lacommunaute/templates/forum_conversation/topic_list_newsfeed.html @@ -32,7 +32,7 @@

- {% include "forum_conversation/partials/social_share_buttons.html" with topic=topic %} + {% include "partials/social_share_buttons.html" with text=topic.subject instance=topic %}
diff --git a/lacommunaute/templates/partials/social_share_buttons.html b/lacommunaute/templates/partials/social_share_buttons.html new file mode 100644 index 000000000..643023164 --- /dev/null +++ b/lacommunaute/templates/partials/social_share_buttons.html @@ -0,0 +1,13 @@ +{% load i18n %} +{% load social_share %} + + +