Serve trade data from DB
This commit is contained in:
@@ -19,7 +19,6 @@
|
||||
<th>amount</th>
|
||||
<th>crypto</th>
|
||||
<th>provider</th>
|
||||
<th>type</th>
|
||||
<th>actions</th>
|
||||
</thead>
|
||||
{% for item in trade_map.values %}
|
||||
@@ -27,7 +26,7 @@
|
||||
<td>
|
||||
<a
|
||||
class="has-text-grey"
|
||||
onclick="window.prompt('Copy to clipboard: Ctrl+C, Enter', '{{ item.data.contact_id }}');">
|
||||
onclick="window.prompt('Copy to clipboard: Ctrl+C, Enter', '{{ item.contact_id }}');">
|
||||
<span class="icon" data-tooltip="Copy to clipboard">
|
||||
<i class="fa-solid fa-copy" aria-hidden="true"></i>
|
||||
</span>
|
||||
@@ -41,13 +40,10 @@
|
||||
<code>{{ item.reference }}</code>
|
||||
</a>
|
||||
</td>
|
||||
<td data-tooltip="{{ item.data.buyer.name }}
|
||||
Trades: {{ item.data.buyer.trade_count }}
|
||||
Last online: {{ item.data.buyer.last_online }}">{{ item.data.buyer.username }}</td>
|
||||
<td>{{ item.data.amount }} {{ item.data.currency }}</td>
|
||||
<td>{{ item.data.amount_xmr }} XMR</td>
|
||||
<td>{{ item.data.advertisement.payment_method }}</td>
|
||||
<td>{{ item.data.advertisement.trade_type }}</td>
|
||||
<td>{{ item.buyer }}</td>
|
||||
<td>{{ item.amount_fiat }} {{ item.currency }}</td>
|
||||
<td>{{ item.amount_crypto }} XMR</td>
|
||||
<td>{{ item.provider }}</td>
|
||||
<td>
|
||||
<div class="buttons">
|
||||
<button
|
||||
|
||||
Reference in New Issue
Block a user