diff --git a/frontend/static/js/challenge.js b/frontend/static/js/challenge.js index 1b7e9b00..6b5d21ee 100644 --- a/frontend/static/js/challenge.js +++ b/frontend/static/js/challenge.js @@ -325,7 +325,7 @@ angular.module("FICApp", ["ngRoute", "ngSanitize"]) $scope.reverse = !$scope.reverse; } else { $scope.rankOrder = fld; - $scope.reverse = false; + $scope.reverse = (fld == "score"); } }; }) diff --git a/frontend/static/views/rank.html b/frontend/static/views/rank.html index 2f1c23e6..a632f473 100644 --- a/frontend/static/views/rank.html +++ b/frontend/static/views/rank.html @@ -1,18 +1,22 @@ -

- - - - - - - - - - - -
- {{ field }} - -
- {{ team[field] }} -
+
+
+ +
+ + + + + + + + + + + +
+ {{ field | rankTitle }} + +
+ {{ team[field] }} +
+