There was a split between a transaction request and an actual transaction. This was kind of annoying because transactions were one-way only, while transaction requests were two-way - which is what I believe most transactions will be using. Tx model has been removed and the responsibilities of it are covered by TxRequest. It simplifies everything surrounding transactions, since we have only one model to deal with instead of two. Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
30 lines
769 B
HTML
30 lines
769 B
HTML
{% extends "trading/base.html" %}
|
|
{% load bootstrap4 %}
|
|
{% load humanize %}
|
|
|
|
{% block title %}
|
|
{% with title="Transaction detail" %}
|
|
{{ block.super }}
|
|
{% endwith %}
|
|
{% endblock title %}
|
|
|
|
{% block content %}
|
|
<div class="row">
|
|
<div class="col-sm">
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th>Transaction ID</th>
|
|
<th>Commodity sent</th>
|
|
<th>Commodity received</th>
|
|
<th>Status</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% include "trading/t/detail_row.html" %}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|