Change the description for the AllStudentTasksList.
diff --git a/app/soc/modules/gci/views/leaderboard.py b/app/soc/modules/gci/views/leaderboard.py
index f3f2a28..c19f5e5 100644
--- a/app/soc/modules/gci/views/leaderboard.py
+++ b/app/soc/modules/gci/views/leaderboard.py
@@ -100,6 +100,17 @@
super(AllStudentTasksList, self).__init__(
request, data, self._LIST_COLUMNS)
+ def context(self):
+ description = 'List of tasks closed by %s' % (
+ self.data.url_profile.name())
+
+ task_list = lists.ListConfigurationResponse(
+ self.data, self._list_config, 0, description)
+
+ return {
+ 'lists': [task_list],
+ }
+
def _getQueryForTasks(self):
return task_logic.queryAllTasksClosedByStudent(self.data.url_profile)