From c1756759434016bc580cee038a0ed062b6f1cc0e Mon Sep 17 00:00:00 2001 From: Manuel Meurer Date: Mon, 10 Aug 2020 22:25:51 +0200 Subject: [PATCH] add sponsorship notes to homepage and email notification --- app/views/gemmies/index.haml | 9 +++++++++ app/views/mailers/email_notification.text.erb | 4 +++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/app/views/gemmies/index.haml b/app/views/gemmies/index.haml index 71610c7..2a921a5 100644 --- a/app/views/gemmies/index.haml +++ b/app/views/gemmies/index.haml @@ -20,3 +20,12 @@ %h2 Latest checked gems = render 'compats/table', gemmies: @gemmies + +%section + %h2 + Support + %p + If you find RailsBump useful and would like to support the ongoing development, + = link_to 'buy me a coffee', 'https://www.buymeacoffee.com/279lcDtbF' + or + == #{link_to 'become a sponsor', 'https://github.com/sponsors/manuelmeurer'}! diff --git a/app/views/mailers/email_notification.text.erb b/app/views/mailers/email_notification.text.erb index 19e842c..a299f7a 100644 --- a/app/views/mailers/email_notification.text.erb +++ b/app/views/mailers/email_notification.text.erb @@ -1,9 +1,11 @@ Hi there, You left your email to be notified when <%= @notifiable.is_a?(Gemmy) ? %(the gem "#{@notifiable}") : 'your lockfile' %> is checked sucessfully. -We are happy to report that this monumental event has now happened! +I am happy to report that this monumental event has just happened! Check it out: <%= url_for @notifiable %> +If you find RailsBump useful and would like to support the ongoing development, <%= link_to 'buy me a coffee', 'https://www.buymeacoffee.com/279lcDtbF' %> or <%= link_to 'become a sponsor', 'https://github.com/sponsors/manuelmeurer' %>! + Bye for now, Your faithful RailsBump bot