Switch coin display order for sent bids.

This commit is contained in:
tecnovert 2021-01-03 20:27:07 +02:00
parent b36b6fb306
commit 4711e81ffc
No known key found for this signature in database
GPG key ID: 8ED6D8750C4E3F93
2 changed files with 8 additions and 0 deletions

View file

@ -10,7 +10,11 @@
{% endfor %} {% endfor %}
<table> <table>
{% if data.was_sent == 'True' %}
<tr><td>Swap</td><td>{{ data.amt_to }} {{ data.ticker_to }} for {{ data.amt_from }} {{ data.ticker_from }}</td></tr>
{% else %}
<tr><td>Swap</td><td>{{ data.amt_from }} {{ data.ticker_from }} for {{ data.amt_to }} {{ data.ticker_to }}</td></tr> <tr><td>Swap</td><td>{{ data.amt_from }} {{ data.ticker_from }} for {{ data.amt_to }} {{ data.ticker_to }}</td></tr>
{% endif %}
<tr><td>Bid State</td><td>{{ data.bid_state }}</td></tr> <tr><td>Bid State</td><td>{{ data.bid_state }}</td></tr>
<tr><td>StateDescription </td><td>{{ data.state_description }}</td></tr> <tr><td>StateDescription </td><td>{{ data.state_description }}</td></tr>
<tr><td>ITX State</td><td>{{ data.itx_state }}</td></tr> <tr><td>ITX State</td><td>{{ data.itx_state }}</td></tr>

View file

@ -10,7 +10,11 @@
{% endfor %} {% endfor %}
<table> <table>
{% if data.was_sent == 'True' %}
<tr><td>Swap</td><td>{{ data.amt_to }} {{ data.ticker_to }} for {{ data.amt_from }} {{ data.ticker_from }}</td></tr>
{% else %}
<tr><td>Swap</td><td>{{ data.amt_from }} {{ data.ticker_from }} for {{ data.amt_to }} {{ data.ticker_to }}</td></tr> <tr><td>Swap</td><td>{{ data.amt_from }} {{ data.ticker_from }} for {{ data.amt_to }} {{ data.ticker_to }}</td></tr>
{% endif %}
<tr><td>Bid State</td><td>{{ data.bid_state }}</td></tr> <tr><td>Bid State</td><td>{{ data.bid_state }}</td></tr>
<tr><td>StateDescription </td><td>{{ data.state_description }}</td></tr> <tr><td>StateDescription </td><td>{{ data.state_description }}</td></tr>
<tr><td>Offer</td><td><a href="/offer/{{ data.offer_id }}">{{ data.offer_id }}</a></td></tr> <tr><td>Offer</td><td><a href="/offer/{{ data.offer_id }}">{{ data.offer_id }}</a></td></tr>