2012-02-15 16:03:58 +00:00
{% extends "basepledge.html" %}
2012-05-13 20:38:06 +00:00
{% load humanize %}
2012-01-09 17:36:03 +00:00
{% block title %}Pledge Completed{% endblock %}
{% block extra_extra_head %}
2013-04-02 15:58:50 +00:00
< link type = "text/css" rel = "stylesheet" href = "/static/css/searchandbrowse2.css" / >
2013-03-19 18:53:11 +00:00
< link type = "text/css" rel = "stylesheet" href = "/static/css/book_panel2.css" / >
2012-09-07 21:48:48 +00:00
< link type = "text/css" rel = "stylesheet" href = "/static/css/pledge.css" / >
2012-03-26 19:26:47 +00:00
< script src = "/static/js/slides.min.jquery.js" > < / script >
< script src = "/static/js/slideshow.js" > < / script >
2012-05-01 17:49:23 +00:00
< script src = "/static/js/greenpanel.js" > < / script >
2012-03-28 16:50:42 +00:00
<!-- toggle to panelview state instead of listview default -->
< script type = "text/javascript" >
jQuery(document).ready(function($) {
$('.listview').addClass("panelview").removeClass("listview");
});
< / script >
< script type = "text/javascript" src = "/static/js/wishlist.js" > < / script >
< script type = "text/javascript" src = "/static/js/greenpanel.js" > < / script >
2012-04-10 19:00:28 +00:00
< script type = "text/javascript" src = "/static/js/embed.js" > < / script >
2012-01-09 17:36:03 +00:00
{% endblock %}
{% block doccontent %}
2012-03-26 19:26:47 +00:00
< div class = "clearfix" >
2012-01-09 17:36:03 +00:00
2012-04-10 19:00:28 +00:00
< h2 class = "thank-you" > Thank you!< / h2 >
2013-12-15 05:31:06 +00:00
{% ifequal campaign.type 1 %}
< p class = "pledge_complete" > You've just {% if modified %}modified your pledge for{% else %}pledged{% endif %} ${{ transaction.amount|intcomma }} to < I > < a href = "{% url work work.id %}" > {{ work.title }}< / a > < / I > . If it reaches its goal of ${{ campaign.target|intcomma }} by {{ campaign.deadline|date:"M d Y"}}, it will be unglued for all to enjoy.< / p >
{% endifequal %}
{% ifequal campaign.type 2 %}
< p class = "pledge_complete" > You've just paid ${{ transaction.amount|intcomma }} for a copy of < I > < a href = "{% url work work.id %}" > {{ work.title }}< / a > < / I > . Its ungluing date is now < i > {{ campaign.cc_date }}< / i > . Thanks for helping to make that day come sooner!< / p >
< div > < a href = "{% url download work.id %}" class = "fakeinput" style = "float:left" > Download Now< / a > < / div >
< div style = "height:75px;" > < / div >
2012-10-12 19:21:14 +00:00
2014-02-20 04:16:28 +00:00
{% endifequal %}
{% ifequal campaign.type 3 %}
< p class = "pledge_complete" > You've just contributed ${{ transaction.amount|intcomma }} to the creators of < I > < a href = "{% url work work.id %}" > {{ work.title }}< / a > < / I > to thank them for making it free to the world.< / p >
< div > < a href = "{% url download work.id %}" class = "fakeinput" style = "float:left" > Download Now< / a > < / div >
< div style = "height:75px;" > < / div >
2013-12-15 05:31:06 +00:00
{% endifequal %}
2012-09-07 21:48:48 +00:00
< div class = "modify_notification clearfix" >
2012-10-14 21:42:28 +00:00
{% include "trans_summary.html" %}
2012-09-07 21:48:48 +00:00
< / div >
2012-04-10 19:00:28 +00:00
< p class = "pledge_complete" > You can help even more by sharing this campaign with your friends:< / p >
< div id = "widgetcode" > Copy/paste this into your site:< br / > < textarea rows = "7" cols = "22" > < iframe src="https://{{request.META.HTTP_HOST}}/api/widget/{{work.first_isbn_13}}/" width="152" height="325" frameborder="0"> < /iframe> < / textarea > < / div >
< ul class = "social menu pledge" >
2012-05-16 15:38:42 +00:00
< a href = "https://www.facebook.com/sharer.php?u=https://{{ site.domain }}{% url work work.id|urlencode:" " % } " > < li class = "facebook first" > < span > Facebook< / span > < / li > < / a >
2013-12-15 05:31:06 +00:00
< a href = "https://twitter.com/intent/tweet?url=https://{{ site.domain }}{% url work work.id|urlencode:" " % } & amp ; text = I%20just%20supported%20{{ work . title | urlencode } } % 20at % 20 % 40unglueit . % 20Will % 20you % 20join % 20me % 3F " > < li class = "twitter" > < span > Twitter< / span > < / li > < / a >
2014-02-21 19:12:20 +00:00
{% if request.user.is_authenticated %}< a href = "{% url emailshare 'pledged' %}?next={% url work work.id|urlencode:" " % } " > < li class = "email" > < span > Email< / span > < / li > < / a > {% endif%}
2012-04-10 19:00:28 +00:00
< a href = "#" id = "embed" > < li class = "embed" > < span > Embed< / span > < / li > < / a >
< / ul >
2012-03-26 19:26:47 +00:00
< / div >
2012-01-09 17:36:03 +00:00
2012-05-01 17:49:23 +00:00
< br / >
< div id = "js-slide" >
< div class = "js-main" >
< div class = "jsmodule" >
{% include "slideshow.html" %}
< / div >
< / div >
< / div >
< div id = "js-maincontainer-bot-block" >
< div id = "js-search" >
2013-12-15 05:31:06 +00:00
< label > What book should we give to the world? < / label >
2012-05-01 17:49:23 +00:00
< form action = "{% url search %}" method = "get" >
2013-12-15 05:31:06 +00:00
< input type = "text" id = "watermarkempty" onfocus = "imgfocus()" onblur = "imgblur(0)" size = "25" class = "inputbox" name = "q" value = "{{ q }}" >
2012-05-01 17:49:23 +00:00
< input type = "submit" class = "greenbutton" value = "Search" >
< / form >
< / div >
< / div >
2012-01-09 17:36:03 +00:00
2012-09-28 20:02:03 +00:00
{% ifequal work.id 81834 %}
2012-06-12 14:29:47 +00:00
<!-- Google Code for Thank you Conversion Page -->
< script type = "text/javascript" >
/* < ![CDATA[ */
var google_conversion_id = 1072527387;
var google_conversion_language = "en";
var google_conversion_format = "3";
var google_conversion_color = "ffffff";
var google_conversion_label = "hiQVCPC14AIQm_C1_wM";
if ({{ transaction.amount }})
var google_conversion_value = {{ transaction.amount }};
}
/* ]]> */
< / script >
< script type = "text/javascript" src = "https://www.googleadservices.com/pagead/conversion.js" >
< / script >
< noscript >
< div style = "display:inline;" >
2013-07-27 01:01:19 +00:00
< img height = "1" width = "1" style = "border-style:none;" alt = "" src = "https://www.googleadservices.com/pagead/conversion/1072527387/?value={{ transaction.amount }}&label=hiQVCPC14AIQm_C1_wM&guid=ON&script=0" / >
2012-06-12 14:29:47 +00:00
< / div >
< / noscript >
{% endifequal %}
2012-05-01 17:49:23 +00:00
{% endblock %}