Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Küppers, Dorothee
oos_2020_todo
Commits
b36a2f80
Commit
b36a2f80
authored
Jul 06, 2020
by
dorothee.kueppers
Browse files
show all fix
parent
42d9814a
Changes
3
Hide whitespace changes
Inline
Side-by-side
oos_2020_todo/urls.py
View file @
b36a2f80
...
...
@@ -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'
),
...
...
templates/todo/show_selection.html
View file @
b36a2f80
...
...
@@ -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>
...
...
templates/todo/show_todo.html
View file @
b36a2f80
...
...
@@ -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>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment