{% extends "base.html" %}
{% load i18n %}

{% block breadcrumbs %}
<li><a href="{% url 'about' %}">{% trans "About Weblate" %}</a></li>
{% endblock %}

{% block content %}

<div class="panel panel-default">
<div class="panel-heading"><h4 class="panel-title">{% trans "About Weblate" %}</h4></div>
<div class="panel-body">

{% include "snippets/about.html" %}

</div>
<div class="panel-footer">
<a class="btn btn-primary" href="https://weblate.org/donate/">{% trans "Donate to Weblate" %}</a>
</div>
</div>


{% if offer_hosting %}
<div class="panel panel-default">
<div class="panel-heading"><h4 class="panel-title">{% trans "Hosting translations" %}</h4></div>
<div class="panel-body">
<p>
{% trans "This Weblate instance hosts translations for various libre software projects." %}
{% blocktrans %}Weblate can host your project as well, please get in touch.{% endblocktrans %}
</p>
  <p>
    {% trans "Commercial hosting is also available, pricing starts at 19 EUR per month, please get in touch for more details." %}
  </p>
</div>
  <div class="panel-footer">
  <a class="btn btn-primary" href="{% url 'hosting' %}">{% trans "Ask for project hosting" %}</a>
  <a class="btn btn-primary btn-spaced" href="https://weblate.org/hosting/">{% trans "View hosting plans" %}</a>
{% if payment_enabled %}
  <a href="{% url 'create-billing' %}?upgrade=1" class="btn btn-primary btn-spaced">{% trans "Purchase new hosting plan" %}</a>
{% else %}
  <a class="btn btn-primary btn-spaced" href="{% url 'contact' %}?t=hosting">{% trans "Contact us for commercial hosting" %}</a>
{% endif %}
  </div>
</div>
{% endif %}


<div class="panel panel-default">
<div class="panel-heading"><h4 class="panel-title">{% trans "Weblate is built on libre software" %}</h4></div>
<div class="panel-body formats">
{% for ver in versions %}
  <a class="format-item" href="{{ ver.1 }}">{{ ver.0 }}
  {% if not hide_version or user.is_authenticated %}
    <span>{{ ver.2 }}</span>
  {% endif %}
  </a>
{% endfor %}
</div>
</div>

{% endblock %}
