From 9de6f997c1485c73c032fbb0057ea3dea557e539 Mon Sep 17 00:00:00 2001
From: Toxantron
Date: Wed, 7 Nov 2018 22:14:33 +0100
Subject: [PATCH 1/5] Move sponsoring instruction to page
---
README.md | 10 ----------
src/sponsors.php | 6 ++++++
src/templates/home.php | 4 ++--
src/templates/sponsors_view.php | 25 +++++++++++++++++++++++++
4 files changed, 33 insertions(+), 12 deletions(-)
diff --git a/README.md b/README.md
index 7060b6b..d5a3d61 100644
--- a/README.md
+++ b/README.md
@@ -32,13 +32,3 @@ For every story the Scrum Master will than start a poll and each member of the s
If you want to contribute you can just clone the repository and follow the deployment instructions. We also offer support for [Vagrant](doc/Vagrant.md) and [Docker](doc/Docker.md). Any changes must be commited to a fork and then merged by issuing a pull request. For information on the REST API or ticketing plugins please have a look at the [wiki documentation](https://github.com/Toxantron/scrumonline/blob/master/doc/).
You can also use the [REST API](https://github.com/Toxantron/scrumonline/blob/master/doc/Developer-Documentation.md) to build a mobile for iOS or Android. In that case I am happy to link your app in the README and on the page.
-
-## Sponsoring
-If you want to support the project, you can become an official sponsor. There are three different levels of sponsoring and each is rewarded with your logo and link in different places. The price for the next level always includes the previous levels privileges. Prices only show the current price for each type and may
-change over time based on demand. To become an official sponsor please contact sponsoring@scrumpoker.online with the [necessary information](https://github.com/Toxantron/scrumonline/blob/master/src/sponsors.php) and your desired sponsoring level. You will recieve an official invoice for your sponsorship, which makes it tax deductible for companies. Within 7 days after payment the page will be updated with your logo. Alternatively if you contribute developer time or server resources, you can also be listed as a sponsor.
-
-| Level | Price annually | Logo placement |
-|---|---:|---|
-| Basic | 20€ | Sponsors tab |
-| Footer | 100€ | Footer |
-| Repo | 150€ | README on GitHub |
diff --git a/src/sponsors.php b/src/sponsors.php
index 5208595..d170aec 100644
--- a/src/sponsors.php
+++ b/src/sponsors.php
@@ -21,6 +21,12 @@ public function render()
return "linkURL . "\">logoURL . "\">";
}
+ public static $prices = [
+ 20, // Basic
+ 100, // Footer
+ 150 // README
+ ];
+
public static function renderFooter()
{
$sponsors = [
diff --git a/src/templates/home.php b/src/templates/home.php
index 6ea8ab9..0c8638d 100644
--- a/src/templates/home.php
+++ b/src/templates/home.php
@@ -16,8 +16,8 @@
Developing, maintaining and hosting this application costs personal time and money. Almost 20.000 users access the application
each month to perform over 28.000 polls. This increase in traffic will exceed the current hosting soon and requires additional
funding. I would also like to setup mirrors around the world for comparable loading times. To keep the page ad-free, I am asking
- for your help. If you would like to support my efforts and help keep the lights on, you can either donate trough the button below
- or become an official sponsor.
+ for your help. If you would like to support my efforts and help keep the lights on, you can either donate through the button below
+ or become an official sponsor.