diff options
Diffstat (limited to 'app')
| -rw-r--r-- | app/main/routes.py | 3 | ||||
| -rw-r--r-- | app/templates/index.html | 4 |
2 files changed, 4 insertions, 3 deletions
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, diff --git a/app/templates/index.html b/app/templates/index.html index 86d2f1a..613db53 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -61,7 +61,7 @@ <tr> <td> <a href="{{ url_for('main.annotate', task_id=task.id) }}"> - {{ task.dataset.name | title }} + Dataset {{ task.dataset.id | title }} </a> </td> </tr> @@ -87,7 +87,7 @@ </thead> {% for task in tasks_done %} <tr> - <td>{{ task.dataset.name | title }}</td> + <td>Dataset {{ task.dataset.id | title }}</td> <td>{{ task.annotated_on }}</td> </tr> {% endfor %} |
