diff --git a/osinaweb/osinacore/api/views.py b/osinaweb/osinacore/api/views.py index 359a45b1..61a8726f 100644 --- a/osinaweb/osinacore/api/views.py +++ b/osinaweb/osinacore/api/views.py @@ -4,7 +4,7 @@ from rest_framework.decorators import api_view from rest_framework.response import Response from osinacore.models import * from .serializers import * -from django.shortcuts import get_object_or_404 + @api_view(['POST']) def register_customer(request): diff --git a/osinaweb/osinacore/templates/epic-fetched-tasks.html b/osinaweb/osinacore/templates/epic-fetched-tasks.html index 589ea493..076c925a 100644 --- a/osinaweb/osinacore/templates/epic-fetched-tasks.html +++ b/osinaweb/osinacore/templates/epic-fetched-tasks.html @@ -128,7 +128,7 @@ + data-modal-url="{% url 'timeline' task.task_id %}">Timeline @@ -231,7 +231,7 @@ + data-modal-url="{% url 'timeline' task.task_id %}">Timeline diff --git a/osinaweb/osinacore/templates/listing_pages/tasks.html b/osinaweb/osinacore/templates/listing_pages/tasks.html index f77b6bf6..1476262c 100644 --- a/osinaweb/osinacore/templates/listing_pages/tasks.html +++ b/osinaweb/osinacore/templates/listing_pages/tasks.html @@ -154,7 +154,7 @@ + data-modal-url="{% url 'timeline' task.task_id %}">Timeline @@ -263,7 +263,7 @@ + data-modal-url="{% url 'timeline' task.task_id %}">Timeline diff --git a/osinaweb/osinacore/templates/project-open-tasks.html b/osinaweb/osinacore/templates/project-open-tasks.html index 01772040..895d6f6f 100644 --- a/osinaweb/osinacore/templates/project-open-tasks.html +++ b/osinaweb/osinacore/templates/project-open-tasks.html @@ -109,7 +109,7 @@ + data-modal-url="{% url 'timeline' task.task_id %}">Timeline @@ -213,7 +213,7 @@ + data-modal-url="{% url 'timeline' task.task_id %}">Timeline