1 {% extends "base.html" %}
 
   4 {% block titleextra %}{% trans "Remaining funds" %}{% endblock %}
 
   8 <h1>{% trans "Remaining funds" %}</h1>
 
  10 <div class="left-column normal-text">
 
  11 <p>{% blocktrans with r="http://redakcja.wolnelektury.pl/" %}If
 
  12 the full amount needed for publishing a book is not raised in time,
 
  13 the funds are spent on <a href="{{r}}">other books waiting for
 
  14 publication</a>. The same thing happens with any money remaining
 
  15 from successful fundraisers.{% endblocktrans %}</p>
 
  16 <p>{% trans "Spending these remaining funds is recorded in this table." %}</p>
 
  20 <table class="normal-text wlfund">
 
  23         <td><div>{% trans "Date" %}:</div></td>
 
  24         <td><div>{% trans "Title" %}:</div></td>
 
  25         <td><div>{% trans "Amount" %}:</div></td>
 
  26         <td><div>{% trans "Balance" %}:</div></td>
 
  29     {% for tag, entry in log %}
 
  30     {% if tag == 'spent' %}
 
  31         <tr class="funding-minus">
 
  32             <td><div>{{ entry.timestamp }}</div></td>
 
  33             <td>{% trans "Money spent on publishing the book" %}:
 
  34                 <a href="{{ entry.book.get_absolute_url }}">
 
  35                 {{ entry.book }}</a></td>
 
  36             <td><div>-{{ entry.amount }} zł</div></td>
 
  37             <td><div>{{ entry.total }} zł</div></td>
 
  40         <tr class="funding-plus">
 
  41             <td><div>{{ entry.end }}</div></td>
 
  42             <td>{% trans "Money remaining from the fundraiser for" %}:
 
  43                 <a href="{{ entry.get_absolute_url }}">
 
  45             <td><div>{{ entry.total }} zł</div></td>
 
  46             <td><div>+{{ entry.wlfund }} zł</div></td>