Add user field to all list templates

master
Mark Veidemanis 1 year ago
parent b4afa32a6e
commit eefd704800
Signed by: m
GPG Key ID: 5ACFCEED46C0904F

@ -12,6 +12,7 @@
hx-get="{{ list_url }}">
<thead>
<th>id</th>
<th>user</th>
<th>name</th>
<th>description</th>
<th>account</th>
@ -21,6 +22,7 @@
{% for item in object_list %}
<tr>
<td>{{ item.id }}</td>
<td>{{ item.user }}</td>
<td>{{ item.name }}</td>
<td>{{ item.description|truncatechars:80 }}</td>
<td>{{ item.account }}</td>

@ -12,6 +12,7 @@
hx-get="{{ list_url }}">
<thead>
<th>id</th>
<th>user</th>
<th>status</th>
<th>account id</th>
<th>symbol</th>
@ -25,6 +26,7 @@
{% for item in object_list %}
<tr>
<td>{{ item.id }}</td>
<td>{{ item.user }}</td>
<td>{{ item.status }}</td>
<td>{{ item.account.id }}</td>
<td>{{ item.symbol }}</td>

Loading…
Cancel
Save