From a8dbb43b42f133b15bf24af5befe6cce7e7254bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Attila=20Ve=C4=8Derek?= Date: Wed, 20 Jun 2018 16:07:37 +0200 Subject: [PATCH] Adds topic page settings --- manifest.json | 9 +++++++++ templates/community_topic_page.hbs | 8 +++++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/manifest.json b/manifest.json index f02f628aa..8dbbb7f8a 100644 --- a/manifest.json +++ b/manifest.json @@ -218,5 +218,14 @@ "label": "post_sharing_label", "value": true }] + }, { + "label": "community_topic_group_label", + "variables": [{ + "identifier": "show_follow_topic", + "type": "checkbox", + "description": "follow_topic_description", + "label": "follow_topic_label", + "value": true + }] }] } diff --git a/templates/community_topic_page.hbs b/templates/community_topic_page.hbs index ca38c4ce1..effa14417 100644 --- a/templates/community_topic_page.hbs +++ b/templates/community_topic_page.hbs @@ -18,9 +18,11 @@

{{topic.description}}

-
- {{subscribe}} -
+ {{#if settings.show_follow_topic}} +
+ {{subscribe}} +
+ {{/if}}