FreedomBox/plinth/modules/help/templates/help_contribute.html
James Valleroy e5a866dd64
help: Add "How can I help?" section to Contribute page
This doesn't use the how-can-i-help package, but it is a similar
implementation that fetches the same data from udd.debian.org.

There are sections for the following issues:
- Packages that will be removed from Debian testing
- Packages that are not in Debian testing
- Good first issues for beginners
- Issues for which the package maintainer has requested help

The overall "How can I help?" section is collapsed by default.

Test:
- View the page in stable and testing container.
- Run help functional tests.

Closes: #536

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
[sunil: Minor indentation fix]
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2022-08-01 14:09:47 -07:00

118 lines
3.7 KiB
HTML

{% extends 'help_base.html' %}
{% comment %}
# SPDX-License-Identifier: AGPL-3.0-or-later
{% endcomment %}
{% load i18n %}
{% block content %}
<h2>{% trans "Contribute" %}</h2>
<p>
{% blocktrans trimmed %}
The FreedomBox project welcomes contributions of all kinds.
{% endblocktrans %}
</p>
<p>
{% 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 %}
</p>
<p>
{% blocktrans trimmed %}
You can also help the project financially by
<a href="https://freedomboxfoundation.org/donate/">donating</a> to the
non-profit FreedomBox Foundation. Founded in 2011, the FreedomBox
Foundation is a non-profit organization with 501(c)(3) status based in New
York City that exists to support FreedomBox. It provides technical
infrastructure and legal services for the project, pursues partnerships,
and advocates for FreedomBox throughout the world. The FreedomBox
Foundation would not exist without its supporters.
{% endblocktrans %}
</p>
<p class="manual-page">
<a href="https://wiki.debian.org/FreedomBox/Contribute">
{% trans 'Learn more...' %}
</a>
</p>
<h3>{% trans "How can I help?" %}</h3>
<p>
{% blocktrans trimmed %}
Below is a list of opportunities for contributing to Debian. It
has been filtered to only show packages that are installed on
this system.
{% endblocktrans %}
</p>
<p>
<a class="btn btn-default collapsed collapsible-button" role="button"
data-toggle="collapse" href="#collapse-issues" aria-expanded="false"
aria-controls="collapse-issues">
<span class="fa fa-chevron-right fa-fw" aria-hidden="true"></span>
{% trans "Show issues" %}
</a>
<div class="collapse" id="collapse-issues">
<h4>{% trans "Packages that will be removed from Debian testing" %}</h4>
<ul>
{% for issue in testing_autorm %}
<li>
{% for package in issue.packages %}
<b>{{ package }}</b> {% endfor %}
({% trans "source package:" %}
<a href="https://tracker.debian.org/pkg/{{ issue.source }}">
{{ issue.source }}</a>):
{% for bug in issue.bugs %}
<a href="https://bugs.debian.org/{{ bug }}">
#{{ bug }}</a>
{% endfor %}
</li>
{% endfor %}
</ul>
<h4>{% trans "Packages that are not in Debian testing" %}</h4>
<ul>
{% for issue in no_testing %}
<li>
<b>{{ issue.package }}</b>
({% trans "source package:" %}
<a href="https://tracker.debian.org/pkg/{{ issue.source }}">
{{ issue.source }}</a>)
</li>
{% endfor %}
</ul>
<h4>{% trans "Good first issues for beginners" %}</h4>
<ul>
{% for issue in gift %}
<li>
<b>{{ issue.package }}</b>:
<a href="https://bugs.debian.org/{{ issue.bug }}">
#{{ issue.bug }}</a>
{{ issue.title }}
</li>
{% endfor %}
</ul>
<h4>{% trans "Issues for which the package maintainer has requested help" %}</h4>
<ul>
{% for issue in help %}
<li>
<b>{{ issue.package }}</b>:
<a href="https://bugs.debian.org/{{ issue.bug }}">
#{{ issue.bug }}</a>
{{ issue.title }}
</li>
{% endfor %}
</ul>
</div>
</p>
{% endblock %}