mirror of
https://git.wownero.com/wownero/wownero-funding-system.git
synced 2024-08-15 00:53:45 +00:00
- Switch to integrated addresses (address+payment_id) -> `make_integrated_address @ RPC)
- Changed homegrown caching solution to use flask extension `flask_cache` instead - Remove detection of out-going (sent) funds, needs to be manually registered in table "payouts" now - Updated Flask version
This commit is contained in:
parent
c0b972edde
commit
401c26e85b
18 changed files with 311 additions and 308 deletions
|
@ -1,20 +1,28 @@
|
|||
{% macro tx_item(tx) %}
|
||||
<li class="list-group-item tx_item">
|
||||
<span class="datetime">
|
||||
{{tx['datetime'].strftime('%Y-%m-%d %H:%M')}}
|
||||
</span>
|
||||
|
||||
<span class="height">
|
||||
<b>Blockheight</b>:
|
||||
{% if tx['type'] == 'pool' %}
|
||||
soon^tm
|
||||
{% else %}
|
||||
{{tx['height']}}
|
||||
{% endif %}
|
||||
{% if tx['type'] == 'pool' %}
|
||||
soon^tm
|
||||
{% elif tx['type'] == 'out' %}
|
||||
<small>hidden</small>
|
||||
{% else %}
|
||||
{{tx['block_height']}}
|
||||
{% endif %}
|
||||
</span>
|
||||
<br>
|
||||
|
||||
{% if tx['type'] in ['in', 'pool'] %}
|
||||
<a target="_blank" href="https://explore.wownero.com/tx/{{tx['txid']}}">{{tx['txid'][:32]}}...</a>
|
||||
{% else %}
|
||||
{% set lulz = [
|
||||
'vodka', 'hookers', 'booze', 'strippers', 'new lambo',
|
||||
'new ferrari', 'new villa', 'new vacation home', 'new tesla',
|
||||
'new watch', 'new home cinema set', 'throphy wife', 'drugs']
|
||||
%}
|
||||
<a style="font-size:11px;" href="#">Sent to author. Enjoy the {{ lulz|random }}!</a>
|
||||
{% endif %}
|
||||
|
||||
<span class="amount{% if tx['type'] in ['pool', 'in'] %} in{% endif %}">
|
||||
{% if tx['type'] in ['in', 'pool'] %}
|
||||
+
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue