mirror of
https://github.com/Quackster/Havana.git
synced 2025-07-03 21:27:46 +00:00
33 lines
1.1 KiB
Smarty
33 lines
1.1 KiB
Smarty
![]() |
{% if transactions|length > 0 %}
|
||
|
<h2>Search Results</h2>
|
||
|
<div class="table-responsive">
|
||
|
<table class="table table-striped">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th></th>
|
||
|
<th>Item ID</th>
|
||
|
<th>Description</th>
|
||
|
<th>Coins</th>
|
||
|
<th>Pixels</th>
|
||
|
<th>Amount</th>
|
||
|
<th>Created At</th>
|
||
|
</tr>
|
||
|
</thead>
|
||
|
<tbody>
|
||
|
{% set num = 1 %}
|
||
|
{% for transaction in transactions %}
|
||
|
<tr>
|
||
|
<td><a href="{{ site.sitePath }}/{{ site.housekeepingPath }}/transaction/track_item?id={{ transaction.getItemId() }}">Track this item</a></td>
|
||
|
<td>{{ transaction.getItemId() }}</td>
|
||
|
<td>{{ transaction.description }}</td>
|
||
|
<td>{{ transaction.costCoins }}</td>
|
||
|
<td>{{ transaction.costPixels }}</td>
|
||
|
<td>{{ transaction.amount }}</td>
|
||
|
<td>{{ transaction.getFormattedDate() }}</td>
|
||
|
</tr>
|
||
|
{% set num = num + 1 %}
|
||
|
{% endfor %}
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
{% endif %}
|