Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a donations page #108

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
</div>
</div>
<div class="row">
<div class="col-md-3">
<div class="col-md-2">
<ul>
<li>
<a href="https://github.com/diaspora/">
Expand All @@ -70,7 +70,7 @@
</li>
</ul>
</div>
<div class="col-md-3">
<div class="col-md-2">
<ul>
<li>
<a href="https://github.com/diaspora/diaspora/issues">
Expand All @@ -84,7 +84,7 @@
</li>
</ul>
</div>
<div class="col-md-3">
<div class="col-md-2">
<ul>
<li>
<a href="https://webchat.freenode.net/?channels=diaspora">
Expand All @@ -98,7 +98,14 @@
</li>
</ul>
</div>
<div class="col-md-3">
<div class="col-md-2">
<ul>
<li>
<%= link_to t('.donations'), donations_url %>
</li>
</ul>
</div>
<div class="col-md-4">
<div class="dropdown dropup">
<button class="btn btn-defalt dropdown-toggle" data-toggle="dropdown">
<%= t '.choose_language' %>
Expand Down
31 changes: 31 additions & 0 deletions app/views/pages/donations.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<% content_for :page_title, t('.menu_title') %>
<% content_for :wrapper_class, 'index-page' %>

<div id="masthead" class="hero">
<div class="container">
<h1><%= t '.headline' %></h1>
<h2 class="lead"><%= t '.byline' %></h2>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="page-header">
<h3><%= t '.help_your_podmin' %></h3>
</div>
<p><%= t '.help_your_podmin_details' %></p>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-12">
<div id="donating" class="page-header">
<h3><%= t '.help_development' %></h3>
</div>
<p><%= t '.help_development_details' %></p>
<p><%= t('.bountysource_details', bountysource: link_to('Bountysource', 'https://www.bountysource.com/teams/diaspora'), bountysource_team_link: link_to(t('.bountysource_team_link_text'), 'https://www.bountysource.com/teams/diaspora')).html_safe %></p>
<p><%= t('.bountysource_more_info', bountysource_blogpost_link: link_to(t('.bountysource_blogpost_link_text'), 'https://blog.diasporafoundation.org/14-support-diaspora-development-via-bountysource')).html_safe %></p>
<p><%= t('.direct_donation', direct_donation_link: link_to(t('.direct_donation_link_text'), 'https://wiki.diasporafoundation.org/Donations#Directly_to_developers')).html_safe %></p>
</div>
</div>
15 changes: 15 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ en:
irc_development: "IRC - Development"
discussion_general: "Discussion & support"
discussion_development: "Discussion - Development"
donations: "Donations"
choose_language: "Choose language"
translate: "Add a translation"
cc_license_alt: "Creative Commons License"
Expand Down Expand Up @@ -132,6 +133,20 @@ en:
reshare_alt: Reshare
mention_alt: Mention
heart_alt: Heart
donations:
menu_title: "Donations"
headline: "Donate to diaspora*"
byline: "And help the network to grow!"
help_your_podmin: "Support the network by donating to your podmin"
help_your_podmin_details: "The administrators of the “pods” that make up the network are the people who bring diaspora* to life. But running a pod costs money. To help your podmin keep the server running and performing well, you can send them some money. Look for a “Donate” section in the left-hand column of the main stream. If your podmin has enabled payments through the app, you’ll find a list of the payment systems accepted by your podmin (Paypal, Liberapay and bitcoin are supported)."
help_development: "Help diaspora*’s development"
help_development_details: "diaspora* is developed by volunteers, but you can support their work by making donations in one of two ways:"
bountysource_details: "You can make donations towards individual tasks (GitHub issues) using %{bountysource}, for example to fix a bug that’s annoying you or to build a feature you would really like to see in diaspora*. When a developer completes a task and their work has been accepted by the diaspora* core team, they then get the money (the “bounty”) attached to that issue. This means that you can be a part of the development of diaspora* even if you don’t write code! Of course, if you want to support development but don’t have a specific issue in mind, you can give money to directly %{bountysource_team_link} and we will attach it ourselves depending on our priorities."
bountysource_team_link_text: "the diaspora* team"
bountysource_more_info: "See %{bountysource_blogpost_link} for more about how you can use Bountysource to support our development."
bountysource_blogpost_link_text: "this blog post"
direct_donation: "You can also support individual developers, some of whom do a lot of work towards improving diaspora* but don’t always work on open GitHub issues and so who would’t benefit from support via Bountysource. If you’re interesting in supporting the project this way, have a look at our wiki article on %{direct_donation_link}."
direct_donation_link_text: "how to directly support our developers"
get_involved:
headline: "Get involved!"
byline: "The future of the social web starts with you"
Expand Down
1 change: 1 addition & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
constraints subdomain: /^(|www)$/i do
controller :pages do
get :about
get :donations
get :formatting
get :get_involved
get :other_docs
Expand Down