Sunil Mohan Adapa 30aae90030
help: Show version information as an alert
- Move the message to the top as it is important and a likely reason to visit
the about page.

- Turn it into an alert so that it stands out from the rest of the text. Success
when up-to-date, warning otherwise.

- Remove custom inline styling.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-12-19 16:26:53 +02:00

81 lines
2.6 KiB
HTML

{% extends 'help_base.html' %}
{% comment %}
# SPDX-License-Identifier: AGPL-3.0-or-later
{% endcomment %}
{% load i18n %}
{% load static %}
{% block content %}
<p class="text-center">
<img src="{% static 'theme/img/freedombox-logo-250px.png' %}"
class="main-graphic" />
</p>
<div class="alert {% if new_version %}alert-warning{% else %}alert-success{% endif %}">
{% blocktrans trimmed %}
You are running {{ os_release }} and {{ box_name }} version {{ version }}.
{% endblocktrans %}
{% if new_version %}
{% url 'upgrades:index' as upgrades_url %}
{% blocktrans trimmed %}
There is a new {{ box_name }} version
<a href="{{ upgrades_url }}">available</a>.
{% endblocktrans %}
{% else %}
{% blocktrans trimmed %}
{{ box_name }} is up to date.
{% endblocktrans %}
{% endif %}
</div>
<p>
{% blocktrans trimmed %}
{{ box_name }} is a community project to develop, design and
promote personal servers running free software for private,
personal communications. It is a networking appliance designed
to allow interfacing with the rest of the Internet under
conditions of protected privacy and data security. It hosts
applications such as blog, wiki, website, social network, email,
web proxy and a Tor relay, on a device that can replace your
Wi-Fi router, so that your data stays with you.
{% endblocktrans %}
</p>
<p>
{% blocktrans trimmed %}
We live in a world where our use of the network is mediated by
those who often do not have our best interests at heart. By
building software that does not rely on a central service, we
can regain control and privacy. By keeping our data in our
homes, we gain useful legal protections over it. By giving back
power to the users over their networks and machines, we are
returning the Internet to its intended peer-to-peer
architecture.
{% endblocktrans %}
</p>
<p>
{% blocktrans trimmed %}
There are a number of projects working to realize a future of
distributed services; {{ box_name }} aims to bring them all
together in a convenient package.
{% endblocktrans %}
</p>
<p>
{% blocktrans trimmed %}
For more information about the {{ box_name }} project, see the
<a href="https://wiki.debian.org/FreedomBox">{{ box_name }}
Wiki</a>.
{% endblocktrans %}
</p>
<p><a class="btn btn-primary"
href="https://wiki.debian.org/FreedomBox"
target="_blank">{% trans "Learn more" %}</a></p>
{% endblock %}