aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack/caf
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-10-21 14:49:36 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-10-21 14:49:36 +0100
commitd4e6e7b3c8f10c6671cecea2c2ca42578678eb4a (patch)
tree5d50ce13ae5f391ac12a0ae37e39399649d91951 /ctrack/caf
parent6d2cd94729a20904d5970b895e686af40353868e (diff)
can now add caf single date events to caf detail page
Diffstat (limited to '')
-rw-r--r--ctrack/caf/templates/caf/caf_detail.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/ctrack/caf/templates/caf/caf_detail.html b/ctrack/caf/templates/caf/caf_detail.html
index 3a73beb..166ced8 100644
--- a/ctrack/caf/templates/caf/caf_detail.html
+++ b/ctrack/caf/templates/caf/caf_detail.html
@@ -128,19 +128,19 @@
<thead>
<tr class="d-flex">
<th class="col-1">Date</th>
- <th class="col-2">Event</th>
+ <th class="col-3">Event</th>
<th class="col-2">Inspector</th>
- <th class="col-3">Description</th>
+ <th class="col-2">Description</th>
<th class="col-4">Comments</th>
</tr>
</thead>
<tbody>
{% for event in all_events %}
<tr class="d-flex">
- <td class="col-1">{{ event.date }}</td>
- <td class="col-2">{{ event.type_descriptor }}</td>
+ <td class="col-1">{{ event.date|date:"j/n/y" }}</td>
+ <td class="col-3">{{ event.type_descriptor }}</td>
<td class="col-2">{{ event.user.name }}</td>
- <td class="col-3">{{ event.short_description }}</td>
+ <td class="col-2">{{ event.short_description }}</td>
<td class="col-4">{{ event.comments }}</td>
</tr>
{% endfor %}