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

{% block body_class %}index{% endblock %}

{% block breadcrumb %}{% endblock %}

{% block content_title %}
  <h2 class="pagetitle">{% trans "Welcome to Transifex" %}</h2>
{% endblock %}

{% block content %}

{% if not request.user.is_authenticated %}
<div id="login_index">
  <div class="divright">
  {% url user_changeopenid as user_changeopenid %}
  {% include "simpleauth/login_box.html" %}
  </div>
</div>
{% endif %}
<div id="intro">
  <p class="promo">{% trans "Transifex is a service aimed at helping translators keep track of their favourite translation projects." %}</p>
  <div class="searchform content_header_prim">
    {% include "search_form.html" %}
    {% url project_list as project_list %} 
    {% blocktrans %}You could also browse through <a href="{{ project_list }}">all projects</a>.{% endblocktrans %}
  </div>
<div id="top_lists">{% include "projects/project_latests.html" %}

{% get_top_translators 5 %}
{% include "projects/project_top_translators.html" %}

</div> 
</div>
<div id="clear"></div>
{% endblock %}
