From 22fbdf2868d92e5c8d53b4067c635c4f6cb04dda Mon Sep 17 00:00:00 2001 From: Christopher Charbonneau Wells Date: Sat, 19 Aug 2017 15:00:29 -0400 Subject: [PATCH] Remove ID from model list templates. --- core/templates/core/child_list.html | 6 ++---- core/templates/core/diaperchange_list.html | 6 ++---- core/templates/core/feeding_list.html | 6 ++---- core/templates/core/note_list.html | 6 ++---- core/templates/core/sleep_list.html | 6 ++---- core/templates/core/tummytime_list.html | 6 ++---- 6 files changed, 12 insertions(+), 24 deletions(-) diff --git a/core/templates/core/child_list.html b/core/templates/core/child_list.html index b8a75ead..779e24cb 100644 --- a/core/templates/core/child_list.html +++ b/core/templates/core/child_list.html @@ -9,7 +9,6 @@ - @@ -19,8 +18,7 @@ {% for child in object_list %} - - + {% empty %} - + {% endfor %} diff --git a/core/templates/core/diaperchange_list.html b/core/templates/core/diaperchange_list.html index f7443247..986d3bc3 100644 --- a/core/templates/core/diaperchange_list.html +++ b/core/templates/core/diaperchange_list.html @@ -9,7 +9,6 @@
# First Name Last Name Birth Date
{{ child.id }}{{ child.first_name }}{{ child.first_name }} {{ child.last_name }} {{ child.birth_date }} @@ -49,7 +47,7 @@
No children found.No children found.
- @@ -21,8 +20,7 @@ {% for change in object_list %} - - + @@ -47,7 +45,7 @@ {% empty %} - + {% endfor %} diff --git a/core/templates/core/feeding_list.html b/core/templates/core/feeding_list.html index a54f747b..19a00e5d 100644 --- a/core/templates/core/feeding_list.html +++ b/core/templates/core/feeding_list.html @@ -9,7 +9,6 @@
# Child Time Wet
{{ change.id }}{{ change.child }}{{ change.child }} {{ change.time }} {{ change.wet }} {{ change.solid }}
No diaper changes found.No diaper changes found.
- @@ -22,8 +21,7 @@ {% for feeding in object_list %} - - + @@ -49,7 +47,7 @@ {% empty %} - + {% endfor %} diff --git a/core/templates/core/note_list.html b/core/templates/core/note_list.html index 6d4c4651..4e213d9b 100644 --- a/core/templates/core/note_list.html +++ b/core/templates/core/note_list.html @@ -9,7 +9,6 @@
# Child Date Duration
{{ feeding.id }}{{ feeding.child }}{{ feeding.child }} {{ feeding.start }} {{ feeding.duration }} {{ feeding.type }}
No feedings found.No feedings found.
- @@ -19,8 +18,7 @@ {% for note in object_list %} - - + {% empty %} - + {% endfor %} diff --git a/core/templates/core/sleep_list.html b/core/templates/core/sleep_list.html index a68e1a14..d74e2857 100644 --- a/core/templates/core/sleep_list.html +++ b/core/templates/core/sleep_list.html @@ -9,7 +9,6 @@
# Child Note Time
{{ note.id }}{{ note.child }}{{ note.child }} {{ note.note }} {{ note.time }} @@ -43,7 +41,7 @@
No notes found.No notes found.
- @@ -20,8 +19,7 @@ {% for sleep in object_list %} - - + @@ -45,7 +43,7 @@ {% empty %} - + {% endfor %} diff --git a/core/templates/core/tummytime_list.html b/core/templates/core/tummytime_list.html index 7eb5da49..82f6b6be 100644 --- a/core/templates/core/tummytime_list.html +++ b/core/templates/core/tummytime_list.html @@ -9,7 +9,6 @@
# Child Start End
{{ sleep.id }}{{ sleep.child }}{{ sleep.child }} {{ sleep.start }} {{ sleep.end }} {{ sleep.duration }}
No sleep entries found.No sleep entries found.
- @@ -21,8 +20,7 @@ {% for tummytime in object_list %} - - + @@ -47,7 +45,7 @@ {% empty %} - + {% endfor %}
# Child Start End
{{ tummytime.id }}{{ tummytime.child }}{{ tummytime.child }} {{ tummytime.start }} {{ tummytime.end }} {{ tummytime.duration }}
No tummy time entries found.No tummy time entries found.