Add user field to all list templates

This commit is contained in:
Mark Veidemanis 2023-02-15 18:44:19 +00:00
parent b4afa32a6e
commit eefd704800
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
2 changed files with 4 additions and 0 deletions

View File

@ -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>

View File

@ -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>