Commits

Dimitris Glezos  committed 0a638d2

Show top translators on project page.

  • Participants
  • Parent commits 2398fb3

Comments (0)

Files changed (3)

File transifex/templates/index.html

 {% extends "base.html" %}
 {% load i18n %}
+{% load txcommontags %}
 
 {% block body_class %}index{% endblock %}
 
     {% 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>

File transifex/templates/projects/project_detail.html

 
 {% endif %}
 
+{% get_top_translators 5 project %}
+{% include "projects/project_top_translators.html" %}
+
 {% endblock %}
 
 {% block content_footer %}

File transifex/templates/projects/project_top_translators.html

 {% load i18n %}
-{% load txcommontags %}
-{% get_top_translators 5 %}
 {% if top_translators %}
 <div id="top_translators">
 <h3>{% trans "Top Translators"%}</h3>