Skip to content

Commit

Permalink
Adds topic page settings
Browse files Browse the repository at this point in the history
  • Loading branch information
vecerek committed Jul 23, 2018
1 parent 01e4158 commit a8dbb43
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
9 changes: 9 additions & 0 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}]
}]
}
8 changes: 5 additions & 3 deletions templates/community_topic_page.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@
</header>
<div class="community-header">
<p class="page-header-description">{{topic.description}}</p>
<div class="community-follow">
{{subscribe}}
</div>
{{#if settings.show_follow_topic}}
<div class="community-follow">
{{subscribe}}
</div>
{{/if}}
</div>

<div class="topic-header">
Expand Down

0 comments on commit a8dbb43

Please sign in to comment.