show transfers text on post regardless

This commit is contained in:
lza_menace 2020-08-11 01:18:17 -07:00
parent ca0c515ddc
commit ec7a8ecdae

View file

@ -20,27 +20,25 @@
<!-- Payments -->
<h2>Payments</h2>
<p style="word-break:break-all;">Vote for this post by sending WOW to the following address:<br><i>{{ address }}</i></p>
{% if transfers %}
<h5>WOW Received</h5>
{% if transfers.in %}
<ul>
{% for transfer in transfers.in %}
<li style="word-break:break-all;list-style:none;">{{ transfer.amount / 100000000000 }} WOW (<a href="https://wownero.club/transaction/{{ transfer.txid }}" target="_blank">{{ transfer.txid }}</a>)</li>
{% endfor %}
</ul>
{% else %}
<p>No WOW received yet. Show this post some love!</p>
{% endif %}
<h5>WOW Sent</h5>
{% if transfers.out %}
<ul>
{% for transfer in transfers.out %}
<li>{{ transfer.amount / 100000000000 }} WOW (<a href="https://wownero.club/transaction/{{ transfer.txid }}" target="_blank">{{ transfer.txid }}</a>)</li>
{% endfor %}
</ul>
{% else %}
<p>No payouts yet.</p>
{% endif %}
<h5>WOW Received</h5>
{% if transfers.in %}
<ul>
{% for transfer in transfers.in %}
<li style="word-break:break-all;list-style:none;">{{ transfer.amount / 100000000000 }} WOW (<a href="https://wownero.club/transaction/{{ transfer.txid }}" target="_blank">{{ transfer.txid }}</a>)</li>
{% endfor %}
</ul>
{% else %}
<p>No WOW received yet. Show this post some love!</p>
{% endif %}
<h5>WOW Sent</h5>
{% if transfers.out %}
<ul>
{% for transfer in transfers.out %}
<li>{{ transfer.amount / 100000000000 }} WOW (<a href="https://wownero.club/transaction/{{ transfer.txid }}" target="_blank">{{ transfer.txid }}</a>)</li>
{% endfor %}
</ul>
{% else %}
<p>No payouts yet.</p>
{% endif %}
<hr>