diff --git a/website/templates/index.html b/website/templates/index.html index e1a1b8a4a..0226ebc19 100644 --- a/website/templates/index.html +++ b/website/templates/index.html @@ -10,6 +10,66 @@
+ +
+
+

{% trans "Latest activity" %}

+
+ {% for activity in activities %} + {% include '_activity.html' %} + {% endfor %} +
+ {% trans "View All Activity" %} +
+
+
+
+
+ {% now "F" %} {% trans "Leaderboard" %} +
+
+
+ {% trans "The 1st Place Hunter for" %} {% now "F" %} {% trans "will receive" %} +
+ {% trans "No sponsored prizes this month" %}
+ +
+
+ +
+ {% if leaderboard %} + {% for leader in leaderboard %} +
+ + {% 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 %} +
{% trans "Leaderboard reset for" %} {% now "F" %}. {% trans "Be first to find issues" %}! + {% endif %} +
+ {% trans "View All" %} + {% trans "Filter Monthly" %} + {% trans "View Monthly" %} +
+
+
+
+ +

{% trans "Find Bugs, Win Points and Prizes" %}


@@ -228,63 +288,7 @@

{% trans "Find a bug on -
-
-

{% trans "Latest activity" %}

-
- {% for activity in activities %} - {% include '_activity.html' %} - {% endfor %} -
- {% trans "View All Activity" %} -
-
-
-
-
- {% now "F" %} {% trans "Leaderboard" %} -
-
-
- {% trans "The 1st Place Hunter for" %} {% now "F" %} {% trans "will receive" %} -
- {% trans "No sponsored prizes this month" %}
- -
-
-
- {% if leaderboard %} - {% for leader in leaderboard %} -
- - {% 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 %} -
{% trans "Leaderboard reset for" %} {% now "F" %}. {% trans "Be first to find issues" %}! - {% endif %} -
- {% trans "View All" %} - {% trans "Filter Monthly" %} - {% trans "View Monthly" %} -
-
-
-