Remove old version.
[wolnelektury.git] / src / funding / templates / funding / offer_detail.html
diff --git a/src/funding/templates/funding/offer_detail.html b/src/funding/templates/funding/offer_detail.html
deleted file mode 100644 (file)
index 05e2d7b..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-{% extends "base/base.html" %}
-{% load i18n static %}
-{% load pagination_tags %}
-{% load fnp_share %}
-{% load thumbnail %}
-{% load build_absolute_uri from fnp_common %}
-{% load fundings from funding_tags %}
-{% load chunks %}
-
-
-{% block titleextra %}{{ object }}{% endblock %}
-
-{% block ogimage %}{{ object.cover.url|build_absolute_uri:request }}{% endblock %}
-
-{% block metadescription %}Wesprzyj kolejną publikację Wolnych Lektur!{% endblock %}
-
-
-{% block body %}
-  <h1>{{ object }}</h1>
-
-  {{ object.detail_bar }}
-  <div class="white-box">
-    <div class="funding-details-intro">
-      {% if object.cover %}
-        <img src="{% thumbnail object.cover "139x193" as thumb %}{{ thumb.url }}{% empty %}{{ object.cover.url }}{% endthumbnail %}"
-             alt="Cover" class="funding-cover" />
-      {% endif %}
-      <div class="normal-text">
-        <h3>{% trans "Help free the book!" %}</h3>
-        {{ object.description|safe }}
-      </div>
-    </div>
-
-    {% if object.is_current %}
-      <div class="normal-text">
-        <h3>{% trans "Support the publication" %}</h3>
-        <form action="" method="post">
-          <table>
-            {# FIXME after upgrade to django 1.9 use field_order #}
-            {% for field in form %}
-              {% if field.name != 'agree_newsletter' %}
-                <tr>
-                  <th>{{ field.label }}</th>
-                  <td>
-                    {{ field.errors }}{{ field }}
-                    {% if field.help_text %}<br /><span class="helptext">{{ field.help_text }}</span>
-                    {% endif %}
-                  </td>
-                </tr>
-              {% endif %}
-            {% endfor %}
-            <tr>
-              <td></td>
-              <td>
-                <label>{{ form.agree_newsletter }} {{ form.agree_newsletter.label }}</label>
-                <br/><span class="helptext">{{ form.data_processing }}</span>
-              </td>
-            </tr>
-            <tr>
-              <td></td>
-              <td>
-                <button type="submit" style="border: none; background: none; cursor: pointer">
-                  <img alt="{% trans 'Donate!' %}" src="{% static 'img/payu.png' %}" />
-                </button>
-              </td>
-            </tr>
-          </table>
-        </form>
-      </div>
-
-      {% chunk "funding_form_bottom" %}
-
-         {{ object.status }}
-        <a href='//nowoczesnapolska.org.pl/pomoz-nam/wesprzyj-nas/' target="_blank" style='float:right;border:1px solid #ddd;padding: 1em;margin:0 0 1em 1em;background:#eee;'><img src='//nowoczesnapolska.org.pl/wp-content/themes/koed/annoy/procent.png' alt='1%' style='float:left;margin-right: 1em;margin-top:.2em;'>Możesz też przekazać<br/>1% podatku na rozwój biblioteki. &rarr;</a>
-        {{ object.status_more }}
-        <p><a href="{% url 'infopage' 'wesprzyj' %}">{% trans "Learn more" %}</a>.</p>
-
-      {% url 'funding_current' object.slug as current %}
-      <p class="normal-text">{% trans "Tell your friends!" %}</p>
-      <p class="share">{% share current _("Support Wolne Lektury!") "big" %}</p>
-      <div style="clear:both;"></div>
-    {% endif %}
-
-    <p class="normal-text"><a href="{% url 'funding' %}">{% trans "See all fundraisers." %}</a></p>
-  </div>
-
-  <h2>{% trans "Supporters" %}:</h2>
-
-  <div class="white-box normal-text">
-    {% fundings object %}
-  </div>
-{% endblock %}