From 6cb48d9daad382f45fbfdf18f422498c3a6ca739 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Mon, 19 Aug 2019 16:30:41 +0100 Subject: Remove dataset name from user --- app/main/routes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/main') diff --git a/app/main/routes.py b/app/main/routes.py index 02ec7c9..52c7871 100644 --- a/app/main/routes.py +++ b/app/main/routes.py @@ -113,10 +113,11 @@ def annotate(task_id): flash( "An internal error occurred loading this dataset, the admin has been notified. Please try again later. We apologise for the inconvenience." ) + title = f"Dataset: {task.dataset.id}" is_multi = len(data["chart_data"]["values"]) > 1 return render_template( "annotate/index.html", - title=task.dataset.name.title(), + title=title, identifier=task.id, data=data, rubric=RUBRIC, -- cgit v1.2.3