From 6bc93d900ac76aaf4b8c60674e45ce275616a667 Mon Sep 17 00:00:00 2001 From: Hironsan Date: Fri, 8 Jun 2018 09:48:54 +0900 Subject: [PATCH] Add link for project list page to annotation page --- doccano/app/server/templates/project_list.html | 2 +- doccano/app/server/urls.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doccano/app/server/templates/project_list.html b/doccano/app/server/templates/project_list.html index 94d8873c..b18d63e7 100644 --- a/doccano/app/server/templates/project_list.html +++ b/doccano/app/server/templates/project_list.html @@ -8,7 +8,7 @@
{% for project in object_list %}
-

{{ project.name }}

+

{{ project.name }}

diff --git a/doccano/app/server/urls.py b/doccano/app/server/urls.py index 35e498e9..0e158ced 100644 --- a/doccano/app/server/urls.py +++ b/doccano/app/server/urls.py @@ -6,7 +6,7 @@ from .views import ProjectListView, ProjectAdminView, RawDataAPI, LabelAPI urlpatterns = [ path('', ProjectListView.as_view(), name='project-list'), path('/admin', ProjectAdminView.as_view()), - path('/', AnnotationView.as_view()), + path('/', AnnotationView.as_view(), name='annotation'), path('/apis/data', AnnotationAPIView.as_view()), path('/apis/raw_data', RawDataAPI.as_view(), name='data_api'), path('/apis/labels', LabelAPI.as_view(), name='label_api'),