split errors in lines
This commit is contained in:
parent
ecf11414c4
commit
b6d205d586
|
@ -21,7 +21,7 @@ def RunQuery():
|
|||
data = dict()
|
||||
data['signature'] = row[0]
|
||||
data['errors'] = row[1]
|
||||
# data['errors_array'] = row[1].split(';')
|
||||
data['errors_array'] = row[1].split(';')
|
||||
data['is_executed'] = row[2]
|
||||
data['is_confirmed'] = row[3]
|
||||
data['cu_requested'] = row[4]
|
||||
|
|
|
@ -49,11 +49,13 @@
|
|||
<td class="text-end"><span class="font-monospace">{{ tx.cu_requested|default('no CU', True) }}</span></td>
|
||||
<td class="text-end">{{ tx.prioritization_fees|default('no fees', True) }}</td>
|
||||
<td>
|
||||
{% for error in tx.errors_array %}
|
||||
<div class="d-flex align-items-center">
|
||||
<div class="d-flex d-lg-none align-items-center"><span class="font-size-tiny me-2"></span><span
|
||||
class="font-monospace text-danger">{{ tx.errors }}</span>
|
||||
class="font-monospace text-danger">{{ error }}</span>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in New Issue