From 1e8106c22075bb70882feb849f716acc008d43f4 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Thu, 24 Apr 2014 15:00:50 +0200 Subject: [PATCH] Add 1% ad to funding. --- apps/funding/templates/funding/offer_detail.html | 4 ++++ apps/funding/templates/funding/thanks.html | 2 ++ 2 files changed, 6 insertions(+) diff --git a/apps/funding/templates/funding/offer_detail.html b/apps/funding/templates/funding/offer_detail.html index aef4d28af..217d5b882 100644 --- a/apps/funding/templates/funding/offer_detail.html +++ b/apps/funding/templates/funding/offer_detail.html @@ -5,10 +5,13 @@ {% load pagination_tags %} {% load fnp_share %} {% load thumbnail %} +{% load build_absolute_uri from fnp_common %} {% block titleextra %}{{ object }}{% endblock %} +{% block ogimage %}{{ object.cover.url|build_absolute_uri:request }}{% endblock %} + {% block metadescription %}Wesprzyj kolejną publikację Wolnych Lektur!{% endblock %} @@ -32,6 +35,7 @@

{% trans "Help free the book!" %}

{{ object.description|safe }} {% offer_status object %} + 1%Możesz też przekazać
1% podatku na rozwój biblioteki. →
{% offer_status_more object %}

{% trans "Learn more" %}.

diff --git a/apps/funding/templates/funding/thanks.html b/apps/funding/templates/funding/thanks.html index 10e680f15..676ea487b 100644 --- a/apps/funding/templates/funding/thanks.html +++ b/apps/funding/templates/funding/thanks.html @@ -10,6 +10,8 @@

{% trans "Thank you!" %}

+1%Możesz też przekazać
1% podatku na rozwój biblioteki. →
+

{% trans "Thank you for your support!" %}

{% blocktrans %}We will contact you if you qualify for perks.{% endblocktrans %}

-- 2.20.1