Commit b36a2f80 authored by dorothee.kueppers's avatar dorothee.kueppers
Browse files

show all fix

parent 42d9814a
......@@ -31,7 +31,8 @@ urlpatterns = [
path('selection/<int:pk>/', get_selection_id, name='selection_id'),
path('todo/add/', todo_details, name='add_todo'),
path('todo/edit/<int:pk>/', todo_details, name='edit_todo'),
path('todo/delete/<int:pk>/<str:source>/<int:s_id>', delete_todo, name='delete_todo'),
path('todo/delete/<int:pk>/', delete_todo, name='delete_todo'),
path('todo/delete/<int:pk>/<str:source>/<int:s_id>', delete_todo, name='delete_todo_selection'),
path('impressum/', get_impressum, name='impressum'),
path('todo/show/', get_show_todo, name='show_todo'),
path('todo/archiv/', get_archiv, name='archiv'),
......
......@@ -39,7 +39,7 @@
</a>
</div>
<div class="todo-delete">
<a href="{% url 'delete_todo' pk=todo.0.id source='selection_id' s_id=pk %}">
<a href="{% url 'delete_todo_selection' pk=todo.0.id source='selection_id' s_id=pk %}">
<span class="material-icons">delete</span>
</a>
</div>
......@@ -79,7 +79,7 @@
</a>
</div>
<div class="todo-delete">
<a href="{% url 'delete_todo' pk=todo.0.id source='selection_id' s_id=pk %}">
<a href="{% url 'delete_todo_selection' pk=todo.0.id source='selection_id' s_id=pk %}">
<span class="material-icons">delete</span>
</a>
</div>
......@@ -120,7 +120,7 @@
</a>
</div>
<div class="todo-delete">
<a href="{% url 'delete_todo' pk=todo.0.id source='selection_id' s_id=pk %}">
<a href="{% url 'delete_todo_selection' pk=todo.0.id source='selection_id' s_id=pk %}">
<span class="material-icons">delete</span>
</a>
</div>
......@@ -160,7 +160,7 @@
</a>
</div>
<div class="todo-delete">
<a href="{% url 'delete_todo' pk=todo.0.id source='selection_id' s_id=pk %}">
<a href="{% url 'delete_todo_selection' pk=todo.0.id source='selection_id' s_id=pk %}">
<span class="material-icons">delete</span>
</a>
</div>
......
......@@ -39,7 +39,7 @@
</a>
</div>
<div class="todo-delete">
<a href="{% url 'delete_todo' pk=todo.0.id source='show_todo' s_id=None %}">
<a href="{% url 'delete_todo' pk=todo.0.id %}">
<span class="material-icons">delete</span>
</a>
</div>
......@@ -79,7 +79,7 @@
</a>
</div>
<div class="todo-delete">
<a href="{% url 'delete_todo' pk=todo.0.id source='show_todo' s_id=None %}">
<a href="{% url 'delete_todo' pk=todo.0.id %}">
<span class="material-icons">delete</span>
</a>
</div>
......@@ -120,7 +120,7 @@
</a>
</div>
<div class="todo-delete">
<a href="{% url 'delete_todo' pk=todo.0.id source='show_todo' s_id=None %}">
<a href="{% url 'delete_todo' pk=todo.0.id %}">
<span class="material-icons">delete</span>
</a>
</div>
......@@ -160,7 +160,7 @@
</a>
</div>
<div class="todo-delete">
<a href="{% url 'delete_todo' pk=todo.0.id source='show_todo' s_id=None %}">
<a href="{% url 'delete_todo' pk=todo.0.id %}">
<span class="material-icons">delete</span>
</a>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment