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

{% block breadcrumbs %}
<li><a href="{% url 'data_root' %}">{% trans "Data export" %}</a></li>
{% endblock %}

{% block content %}

<p>
{% trans "You can retrieve various data from Weblate in machine readable format." %}
</p>

<h3>
{% trans "RSS feeds" %}
{% documentation_icon 'api' 'rss' %}
</h3>

<p>
{% trans "To follow translation progress you can use RSS feeds, detailing all important translation changes." %}
</p>

<table class="table">
<thead>
<tr>
<th>{% trans "URL" %}</th>
<th>{% trans "Link" %}</th>
</thead>
<tbody>
<tr>
<td>{{ site_url }}{% url 'rss' %}</td>
<td><a href="{{ site_url }}{% url 'rss' %}">{% trans "RSS" %}</a></td>
</tr>
</tbody>
</table>

<h3>{% trans "Per project data" %}</h3>

<p>
{% trans "There is more data exported per project, please check the following links for more information." %}
</p>

<ul>
{% for project in acl_projects %}
<li><a href="{% url 'data_project' project=project.slug %}">{{ project.name }}</a></li>
{% endfor %}
</ul>

{% if hooks_enabled %}
<h3>
{% trans "Notification hooks" %}
{% documentation_icon 'api' 'hooks' %}
</h3>

<p>
{% blocktrans %}With notification hooks, Weblate will automatically import changes made by your developers, and allows continuous translation.{% endblocktrans %}
</p>
{% endif %}

{% endblock %}
