only show the link when the plugin is enabled
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
|
||||
<div class="discourse-donations">
|
||||
<a href="/users/{{model.username}}/payments">Donate</a>
|
||||
</div>
|
||||
{{#if siteSettings.discourse_donations_enabled}}
|
||||
<div class="discourse-donations">
|
||||
<a href="/users/{{model.username}}/payments">Donate</a>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
Reference in New Issue
Block a user