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

{% block breadcrumbs %}
<li><a href="{% url 'languages' %}">{% trans "languages" %}</a></li>
<li><a href="{{ object.get_absolute_url }}">{{ object }}</a></li>
{% endblock %}

{% block content %}

<h2>{% trans "Projects" %}</h2>

{% with object.translation_set.enabled as translations %}
{% include "list-translations.html" %}
{% endwith %}

<h2>{% trans "Tools" %}</h2>

<div class="tabs" id="main-tabs">

<ul>
<li><a href="#changes">{% trans "History" %}</a></li>
<li><a href="#dicts">{% trans "Glossaries" %}</a></li>
<li><a href="{% url 'view_language_activity' lang=object.code %}">{% trans "Activity" %}</a></li>
</ul>

<div id="changes">
{% include "last-changes.html" %}
</div>

<div id="dicts">
<ul>
{% for dict in dicts %}
<li><a href="{% url 'show_dictionary' lang=object.code project=dict.slug %}">{{ dict }}</a></li>
{% endfor %}
</ul>
</div>

</div>

{% endblock %}

