diff --git a/plinth/modules/help/help.py b/plinth/modules/help/help.py
index 10ee6c175..8e949f8fb 100644
--- a/plinth/modules/help/help.py
+++ b/plinth/modules/help/help.py
@@ -57,6 +57,11 @@ class HelpApp(app_module.App):
'fa-download', 'help:download-manual',
parent_url_name='help:index', order=15)
self.add(menu_item)
+ menu_item = menu.Menu('menu-help-feedback',
+ ugettext_lazy('Submit Feedback'), None,
+ 'fa-comments', 'help:feedback',
+ parent_url_name='help:index', order=25)
+ 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)
@@ -76,6 +81,12 @@ def index(request):
{'title': _('Documentation and FAQ')})
+def feedback(request):
+ """Serve the feedback page"""
+ return TemplateResponse(request, 'help_feedback.html',
+ {'title': _('Submit Feedback')})
+
+
def about(request):
"""Serve the about page"""
cache = Cache()
diff --git a/plinth/modules/help/templates/help_feedback.html b/plinth/modules/help/templates/help_feedback.html
new file mode 100644
index 000000000..ca6630f88
--- /dev/null
+++ b/plinth/modules/help/templates/help_feedback.html
@@ -0,0 +1,55 @@
+{% 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 %} + Your feedback will help us improve {{ box_name }}! + {% endblocktrans %} +
+ ++ {% blocktrans trimmed %} + Let us know about missing features, your favourite apps and how we can + improve them on our + discussion forum. + {% endblocktrans %} +
+ ++ {% blocktrans trimmed %} + If you find any bugs or issues, please use the issue tracker to let our developers know. To report, + first check if the issue is already reported and then use the "New issue" + button. + {% endblocktrans %} +
+ ++ {% blocktrans trimmed %} + Thank you! + {% endblocktrans %} +
+{% endblock %} diff --git a/plinth/modules/help/urls.py b/plinth/modules/help/urls.py index 2b4445d4a..8322574fb 100644 --- a/plinth/modules/help/urls.py +++ b/plinth/modules/help/urls.py @@ -27,6 +27,7 @@ from . import help as views urlpatterns = [ url(r'^help/$', non_admin_view(views.index), name='index'), 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/manual/$', non_admin_view(views.manual), name='manual'), url(r'^help/manual/download/$', non_admin_view(views.download_manual), name='download-manual'),