1 {% extends "base.html" %}
 
   2 {% load url from future %}
 
   4 {% load funding_tags %}
 
   5 {% load pagination_tags %}
 
  10 {% block titleextra %}{{ object }}{% endblock %}
 
  12 {% block metadescription %}Wesprzyj kolejną publikację Wolnych Lektur!{% endblock %}
 
  19 {% funding object show_title=False %}
 
  20 <div class="white-box">
 
  21     <div class="funding-details-intro">
 
  24                 {% thumbnail object.cover "139x193" as thumb %}
 
  27                     {{ object.cover.url }}
 
  29             " alt="Cover" class="funding-cover" />
 
  31         <div class="normal-text">
 
  32         <h3>{% trans "Help free the book!" %}</h3>
 
  33         {{ object.description|safe }}
 
  34         {% offer_status object %}
 
  35         {% offer_status_more object %}
 
  36         <p><a href="{% url 'infopage' 'wesprzyj' %}">{% trans "Learn more" %}</a>.</p>
 
  39         <div style="clear:both;"></div>
 
  42     {% if object.is_current %}
 
  43         <div class="normal-text">
 
  44             <h3>{% trans "Support the publication" %}</h3>
 
  45             <form action="" method="post">
 
  50                     <button type="submit" style="border: none; background: none; cursor: pointer">
 
  51                     <img alt="{% trans 'Donate!' %}" src="{% static 'img/payu.png %}" />
 
  58         {% url 'funding_current' object.slug as current %}
 
  59         <p class="normal-text">{% trans "Tell your friends!" %}</p>
 
  60         <p class="share">{% share current _("Support Wolne Lektury!") "big" %}</p>
 
  63     <p class="normal-text"><a href="{% url 'funding' %}">{% trans "See all fundraisers." %}</a></p>
 
  68 <h2>{% trans "Supporters" %}:</h2>
 
  70 <div class="white-box normal-text">
 
  71 {% with object.funding_payed.all as fundings %}
 
  73     <table class="wlfund">
 
  74     {% autopaginate fundings 10 %}
 
  75     {% for funding in fundings %}
 
  76         <tr class="funding-plus">
 
  77             <td class="oneline">{{ funding.payed_at.date }}</td>
 
  82                     <em>{% trans "Anonymous" %}</em>
 
  85             <td>{{ funding.amount }} zł</td>
 
  87                 {% for perk in funding.perks.all %}
 
  88                     {{ perk.name }}{% if not forloop.last %},{% endif %}