{% extends "base.html" %}
{% load i18n %}
{% load url from future %}

{% block breadcrumbs %}
<li><a href="{% url 'weblate.trans.views.data_root' %}">{% trans "data" %}</a></li>
{% endblock %}

{% block content %}

<h2>{% trans "Data export" %}</h2>

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

<h3>{% trans "RSS feeds" %}</h3>

<p>
{% trans "To follow translation progress you can use RSS feeds which include all important changes in translation." %}
{% blocktrans %}More information about exported RSS feeds is available in <a href="{{ rss_docs }}">the documentation</a>.{% endblocktrans %}
</p>

<table>
<thead>
<tr>
<th>{% trans "URL" %}</th>
<th>{% trans "Link" %}</th>
</thead>
<tbody>
<tr>
<td>http://{{ site_domain }}{% url 'rss' %}</td>
<td><a href="http://{{ site_domain }}{% 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 following links for more information." %}
</p>

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

{% endblock %}
