diff --git a/codalab/apps/web/templates/web/my/_entered.html b/codalab/apps/web/templates/web/my/_entered.html index ab4c15e4c..23893dd18 100644 --- a/codalab/apps/web/templates/web/my/_entered.html +++ b/codalab/apps/web/templates/web/my/_entered.html @@ -1,7 +1,7 @@ -{% if not participations %} +{% if not competitions %}

You have not participated in any competitions.

{% else %} - {% for item in participations %} + {% for item in competitions %}
diff --git a/codalab/apps/web/templates/web/my/index.html b/codalab/apps/web/templates/web/my/index.html index 196f7b99d..1b1f1de5a 100644 --- a/codalab/apps/web/templates/web/my/index.html +++ b/codalab/apps/web/templates/web/my/index.html @@ -5,22 +5,21 @@
-

- Competitions I'm Running +

+ Competitions I'm Participating In

-
- {% include "web/my/_managed.html" with competitions=my_competitions %} +
+ {% include "web/my/_entered.html" with competitions=competitions_im_in %}
-
-
-

- Competitions I'm Participating In +

+

+ Competitions I'm Running

-
- {% include "web/my/_entered.html" with competitions=competitions_im_in %} +
+ {% include "web/my/_managed.html" with competitions=my_competitions %}