From 011ae1b2bed995fe0f58d43aaec3a6830d968681 Mon Sep 17 00:00:00 2001 From: Rimian Perkins Date: Mon, 6 Mar 2017 14:44:11 +1100 Subject: [PATCH] add an extra nav item --- README.md | 1 + .../discourse/templates/connectors/extra-nav-item/donate.hbs | 3 +++ plugin.rb | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 assets/javascripts/discourse/templates/connectors/extra-nav-item/donate.hbs diff --git a/README.md b/README.md index dd02126..a686cd3 100644 --- a/README.md +++ b/README.md @@ -30,3 +30,4 @@ Visit `/admin/plugins` and configure your private and public keys. * [This fix](https://github.com/discourse/discourse/pull/4719) is required to run qunit test modules. * If you're using a zsh shell, then you probably get this error: `zsh: no matches found ...` and you'll need to escape the square brackets with backslashes. +* [This fix](https://github.com/discourse/discourse/pull/4738) renders the extra nav items consistently. diff --git a/assets/javascripts/discourse/templates/connectors/extra-nav-item/donate.hbs b/assets/javascripts/discourse/templates/connectors/extra-nav-item/donate.hbs new file mode 100644 index 0000000..6903351 --- /dev/null +++ b/assets/javascripts/discourse/templates/connectors/extra-nav-item/donate.hbs @@ -0,0 +1,3 @@ + + {{i18n 'discourse_donations.title'}} + diff --git a/plugin.rb b/plugin.rb index 113b824..02bae9a 100644 --- a/plugin.rb +++ b/plugin.rb @@ -1,6 +1,6 @@ # name: discourse-donations # about: Integrating Discourse with Stripe for donations -# version: 1.7.3 +# version: 1.8.0 # url: https://github.com/choiceaustralia/discourse-donations # authors: Rimian Perkins