{% extends "base.html" %} {% block content %}
{% include 'messages.html' %}

{{ proposal.headline }}

Posted on {{ proposal.date_added.strftime('%Y-%m-%d') }} by {{ proposal.user.username}}
Status: {% if proposal.status == 0 %} Disabled {% elif proposal.status == 1 %} Seeking community approval {% elif proposal.status == 2 %} Seeking funding {% elif proposal.status == 3 %} WIP / Help needed {% elif proposal.status == 4 %} Completed {% endif %} {% if proposal.status <= 1 %}
Target: {{proposal.funds_target|round}} WOW {% if proposal.funds_target_usd %} ➞ {{proposal.funds_target_usd}} USD {% endif %} {% endif %}

{% if proposal.user.username == current_user.username or current_user.admin %} {% endif %}


{% if proposal.status >= 2 %}
Funds
Target {{proposal.funds_target|round}} WOW {% if proposal.funds_target_usd %} ➞ {{proposal.funds_target_usd}} USD {% endif %}
Funded {{proposal.balance['pct'] | round or 0}} %
{{proposal.balance['txs'] | length}} individual contributions {% if proposal.balance['txs'] %} Details... {% endif %}

{{proposal.balance['available']|round(3) or 0 }} WOW Raised {% if (proposal.funds_target-proposal.balance['available']|float|round(3)) > 0 %} ({{ (proposal.funds_target-proposal.balance['available']|float|round(3)|int) }} WOW until goal) {% else %} ({{ (proposal.balance['available']-proposal.funds_target|float|round(3)|int) }} WOW past goal!) {% endif %}



{{proposal.spends['spent']|round(3) or 0}} WOW Paid out

{{(proposal.balance['available']-proposal.spends['spent']) |round(3) or 0}} WOW Available to Payout


Donation address:
{% if proposal.addr_donation %}{{ proposal.addr_donation }}{% else %}None generated yet{% endif %}
{% if proposal.addr_donation %}
{% endif %}
{% elif proposal.status == 0 %}
This proposal is disabled.
{% endif %}
{{proposal.html | safe}}
{% include 'comments.html' %} {% if proposal.balance['txs'] %}
Incoming transactions ({{proposal.balance['txs']|length}})
    {% for tx in proposal.balance['txs'] %}
  • {{tx['datetime'].strftime('%Y-%m-%d %H:%M')}} Blockheight: {{tx['height']}}
    {{tx['txid'][:32]}}... + {{tx['amount_human']|round(3)}} WOW {% if 'amount_usd' in tx %} ➞ $ {{tx['amount_usd']}} {% endif %}
  • {% endfor %}
{% endif %} {% if proposal.spends['txs'] %}
Outgoing transactions ({{proposal.spends['txs']|length}})
    {% for tx in proposal.spends['txs'] %}
  • {{tx['datetime'].strftime('%Y-%m-%d %H:%M')}} Blockheight: {{tx['height']}}
    {{tx['txid'][:32]}}... - {{tx['amount_human']|round(3)}} WOW {% if 'amount_usd' in tx %} ➞ $ {{tx['amount_usd']}} {% endif %}
  • {% endfor %}
{% endif %}
{% endblock %}