Hide nav link if plugin disabled

This commit is contained in:
Chris Beach 2018-01-17 23:10:07 +00:00
parent a16fdf57ef
commit c6f416788c
1 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,5 @@
<a href="/donate">
{{i18n 'discourse_donations.nav_item'}}
</a>
{{#if siteSettings.discourse_donations_enabled}}
<a href="/donate">
{{i18n 'discourse_donations.nav_item'}}
</a>
{{/if}}