Add all model fields to callbacks
This commit is contained in:
@@ -6,6 +6,14 @@
|
||||
<th>hook id</th>
|
||||
<th>hook name</th>
|
||||
<th>title</th>
|
||||
<th>message</th>
|
||||
<th>period</th>
|
||||
<th>sent</th>
|
||||
<th>trade</th>
|
||||
<th>exchange</th>
|
||||
<th>item</th>
|
||||
<th>currency</th>
|
||||
<th>contract</th>
|
||||
<th>actions</th>
|
||||
</thead>
|
||||
{% for item in items %}
|
||||
@@ -15,12 +23,21 @@
|
||||
<td>
|
||||
<a
|
||||
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
||||
hx-get="{% url 'hook_action' hook_id=item.hook.id %}"
|
||||
hx-get="{% url 'hook_action' type=type hook_id=item.hook.id %}"
|
||||
hx-trigger="click"
|
||||
hx-target="#modals-here">{{ item.hook.name }}
|
||||
</a>
|
||||
</td>
|
||||
<td><pre>{{ item.title }}</pre></td>
|
||||
<td>{{ item.title }}</td>
|
||||
<td>{{ item.message }}</td>
|
||||
<td>{{ item.period }}</td>
|
||||
<td>{{ item.timestamp_sent }}</td>
|
||||
<td>{{ item.timestamp_trade }}</td>
|
||||
<td>{{ item.market_exchange }}</td>
|
||||
<td>{{ item.market_item }}</td>
|
||||
<td>{{ item.market_currency }}</td>
|
||||
<td>{{ item.market_contract }}</td>
|
||||
|
||||
<td>
|
||||
<div class="buttons">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user