Add user field to all list templates
This commit is contained in:
parent
b4afa32a6e
commit
eefd704800
|
@ -12,6 +12,7 @@
|
||||||
hx-get="{{ list_url }}">
|
hx-get="{{ list_url }}">
|
||||||
<thead>
|
<thead>
|
||||||
<th>id</th>
|
<th>id</th>
|
||||||
|
<th>user</th>
|
||||||
<th>name</th>
|
<th>name</th>
|
||||||
<th>description</th>
|
<th>description</th>
|
||||||
<th>account</th>
|
<th>account</th>
|
||||||
|
@ -21,6 +22,7 @@
|
||||||
{% for item in object_list %}
|
{% for item in object_list %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ item.id }}</td>
|
<td>{{ item.id }}</td>
|
||||||
|
<td>{{ item.user }}</td>
|
||||||
<td>{{ item.name }}</td>
|
<td>{{ item.name }}</td>
|
||||||
<td>{{ item.description|truncatechars:80 }}</td>
|
<td>{{ item.description|truncatechars:80 }}</td>
|
||||||
<td>{{ item.account }}</td>
|
<td>{{ item.account }}</td>
|
||||||
|
|
|
@ -12,6 +12,7 @@
|
||||||
hx-get="{{ list_url }}">
|
hx-get="{{ list_url }}">
|
||||||
<thead>
|
<thead>
|
||||||
<th>id</th>
|
<th>id</th>
|
||||||
|
<th>user</th>
|
||||||
<th>status</th>
|
<th>status</th>
|
||||||
<th>account id</th>
|
<th>account id</th>
|
||||||
<th>symbol</th>
|
<th>symbol</th>
|
||||||
|
@ -25,6 +26,7 @@
|
||||||
{% for item in object_list %}
|
{% for item in object_list %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{ item.id }}</td>
|
<td>{{ item.id }}</td>
|
||||||
|
<td>{{ item.user }}</td>
|
||||||
<td>{{ item.status }}</td>
|
<td>{{ item.status }}</td>
|
||||||
<td>{{ item.account.id }}</td>
|
<td>{{ item.account.id }}</td>
|
||||||
<td>{{ item.symbol }}</td>
|
<td>{{ item.symbol }}</td>
|
||||||
|
|
Loading…
Reference in New Issue