diff --git a/website/static/css/style.css b/website/static/css/style.css index 18b0b8873..173b4e35b 100644 --- a/website/static/css/style.css +++ b/website/static/css/style.css @@ -571,4 +571,6 @@ i.fa-5x { .profileimage{ border-radius:50%; - } + width: 50px; + height: 50px; +} diff --git a/website/templates/index.html b/website/templates/index.html index f8cd9de65..e0d751ddd 100644 --- a/website/templates/index.html +++ b/website/templates/index.html @@ -39,10 +39,11 @@

{% trans "Latest activity" %}

{% if leaderboard %} {% for leader in leaderboard %}
- - {% if leader.socialaccount_set.all.0.get_avatar_url %} - + + {% if leader.userprofile.avatar %} + + {% elif user.socialaccount_set.all.0.get_avatar_url %} + {% else %} {% endif %}