diff --git a/plinth/modules/help/help.py b/plinth/modules/help/help.py
index 9ade7443a..7b763202c 100644
--- a/plinth/modules/help/help.py
+++ b/plinth/modules/help/help.py
@@ -67,6 +67,11 @@ class HelpApp(app_module.App):
'fa-comments', 'help:feedback',
parent_url_name='help:index', order=25)
self.add(menu_item)
+ menu_item = menu.Menu('menu-help-contribute',
+ ugettext_lazy('Contribute'), None, 'fa-wrench',
+ 'help:contribute', parent_url_name='help:index',
+ order=30)
+ self.add(menu_item)
menu_item = menu.Menu('menu-help-about', ugettext_lazy('About'), None,
'fa-star', 'help:about',
parent_url_name='help:index', order=100)
@@ -86,6 +91,12 @@ def index(request):
{'title': _('Documentation and FAQ')})
+def contribute(request):
+ """Serve the contribute page"""
+ return TemplateResponse(request, 'help_contribute.html',
+ {'title': _('Contribute')})
+
+
def feedback(request):
"""Serve the feedback page"""
return TemplateResponse(request, 'help_feedback.html',
diff --git a/plinth/modules/help/templates/help_contribute.html b/plinth/modules/help/templates/help_contribute.html
new file mode 100644
index 000000000..9d93bd323
--- /dev/null
+++ b/plinth/modules/help/templates/help_contribute.html
@@ -0,0 +1,54 @@
+{% extends 'help_base.html' %}
+{% comment %}
+#
+# This file is part of FreedomBox.
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU Affero General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public License
+# along with this program. If not, see
+ {% blocktrans trimmed %} + The FreedomBox project welcomes contributions of all kinds. + {% endblocktrans %} +
+ ++ {% blocktrans trimmed %} + You can contribute by writing code, testing and reporting bugs, discussing + new use cases and applications, designing logos and artwork, providing + support to your fellow users, translating FreedomBox and its applications + into your language, hosting hackathons or install fests and by spreading the + word. + {% endblocktrans %} +
+ ++ {% blocktrans trimmed %} + You can also help the project + financially by donating to the non-profit FreedomBox Foundation. + {% endblocktrans %} +
+ + +{% endblock %} diff --git a/plinth/modules/help/urls.py b/plinth/modules/help/urls.py index b7d276168..461d28f2b 100644 --- a/plinth/modules/help/urls.py +++ b/plinth/modules/help/urls.py @@ -29,6 +29,8 @@ urlpatterns = [ url(r'^help/about/$', non_admin_view(views.about), name='about'), url(r'^help/feedback/$', non_admin_view(views.feedback), name='feedback'), url(r'^help/support/$', non_admin_view(views.support), name='support'), + url(r'^help/contribute/$', non_admin_view(views.contribute), + name='contribute'), url(r'^help/manual/$', non_admin_view(views.manual), name='manual'), url(r'^help/manual/download/$', non_admin_view(views.download_manual), name='download-manual'),