diff --git a/website/templates/_activity.html b/website/templates/_activity.html index da197d6cc..62037276c 100644 --- a/website/templates/_activity.html +++ b/website/templates/_activity.html @@ -1,6 +1,21 @@ {% load gravatar %} {% load static %} -
+ + +
{% if activity.user.userprofile.avatar %} @@ -15,11 +30,25 @@ {% endif %}
@@ -60,3 +83,4 @@ {% endif %}
+ diff --git a/website/templates/index.html b/website/templates/index.html index cb7190258..1f8d2f734 100644 --- a/website/templates/index.html +++ b/website/templates/index.html @@ -256,16 +256,22 @@

{% trans "Latest activity" %}

{% if leaderboard %} {% for leader in leaderboard %} -
- {% if leader.socialaccount_set.all.0.get_avatar_url %} - - {% else %} - - {% endif %} - {{leader.username|truncatechars:20 }} - {{ forloop.counter|ordinal }} -
{{ leader.total_score }} {% trans "Points" %}
+
+ + {% if leader.socialaccount_set.all.0.get_avatar_url %} + + {% else %} + + {% endif %} + + + {{leader.username|truncatechars:20 }} + +
{{ leader.total_score }} {% trans "Points" %}
+ {{ forloop.counter|ordinal }} +
+
{% endfor %} {% else %}