Template source: top.html

{% extends "base.html" %} {% load i18n %} {% load l10n %} {% block body %} <h1>{% blocktrans %}Top {{ size }} of {{ category }} on Mangaki on {{ date }}{% endblocktrans %}</h1> <a href="https://twitter.com/share" class="twitter-share-button" data-url="http://mangaki.fr/top/{{ category_slug }}/" data-text="{% blocktrans %}Top {{ size }} of {{ category }} on Mangaki on {{ date }}{% endblocktrans %}" data-via="MangakiFR" data-lang="fr" data-size="large" data-related="MangakiFR">Tweeter</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script> <table class="table table-condensed table-hover"> <tr><th></th><th>{% trans "Name" %}</th><th>{% trans "Score" %}</th><th>{% trans "Number of ratings" %}</th><th>{% trans "Number of favorites" %}</th></tr> {% for artist in top %} <tr><td>{{ artist.rank }}</td><td><a href="{% url 'artist-detail' artist.id %}">{{ artist.name }}</a></td><td>{{ artist.score }}</td><td>{{ artist.nb_ratings }}</td><td>{{ artist.nb_stars }}</td></tr> {% endfor %} </table> <br /> <br /> <br /> {% endblock %}