1
0
mirror of synced 2026-08-07 07:36:56 +00:00

add hide donate button

This commit is contained in:
Rimian Perkins
2017-05-24 14:58:20 +10:00
parent 2e91a8e3a3
commit ccea023274
3 changed files with 10 additions and 3 deletions
@@ -1,3 +1,5 @@
<a href="/donate">
{{i18n 'discourse_donations.nav_item'}}
</a>
{{#if settings.discourse_donations_show_extra_nav_item}}
<a href="/donate">
{{i18n 'discourse_donations.nav_item'}}
</a>
{{/if}}
+2
View File
@@ -8,6 +8,8 @@ en:
discourse_donations_hide_zip_code: Hide Zip Code
discourse_donations_reward_badge_name: Grant this badge to user when a payment is successful
discourse_donations_reward_group_name: Add the user to this group when a payment is successful
discourse_donations_show_extra_nav_item: Show extra nav item
en:
donations:
payment:
+3
View File
@@ -24,3 +24,6 @@ plugins:
discourse_donations_reward_group_name:
client: false
default: 'Donation'
discourse_donations_show_extra_nav_item:
client: true
default: true