makes pledge action clearer by describing in more contexts and using Pledge rather than Support

pull/1/head
Andromeda Yelton 2012-11-20 09:56:04 -05:00
parent 81e27e234e
commit a2abb92038
7 changed files with 29 additions and 11 deletions

View File

@ -104,7 +104,7 @@
</a>
</li>
<li><a href="{% url supporter supporter_username=user.username %}#edit" id="profile_edit"><span>Profile Settings</span></a></li>
<li><a href="{% url manage_account %}"><span>Account Settings</span></a></li>
<li><a href="{% url manage_account %}"><span>Account & Pledges</span></a></li>
<li><a href="{% url auth_logout %}"><span>Sign Out</span></a></li>
</ul>
<li>

View File

@ -32,7 +32,7 @@
<p><b>${{ work.last_campaign.current_total|floatformat:0|intcomma }}</b> raised</p>
<p><b>${{ work.last_campaign.target|floatformat:0|intcomma }}</b> needed</p>
<p>by {{ deadline|naturalday:"M d, Y" }}</p>
<a href="/pledge/{{workid}}"><div class="read_itbutton pledge"><span>Support</span></div></a>
<a href="{% url pledge work_id=workid"><div class="read_itbutton pledge"><span>Pledge</span></div></a>
{% else %}{% if status == 'INITIALIZED' %}
<p>Campaign coming soon!</p>
@ -129,7 +129,7 @@
</div>
{% else %}{% ifequal supporter request.user %}
<div class="listview panelfront side1 remove-wishlist">
<span id="l{{ workid }}">Remove This</span>
<span id="l{{ workid }}">Un-wishlist</span>
</div>
{% else %}{% if work in wishlist %}
<div class="listview panelfront side1 on-wishlist">
@ -137,11 +137,15 @@
</div>
{% else %}
<div class="listview panelfront side1 add-wishlist">
{% ifequal status "ACTIVE" %}
<span class="booklist_pledge"><a href="{% url pledge work_id=workid %}" class="fakeinput">Pledge</a></span>
{% else %}
{% if on_search_page %}
<span class="gb_id" id="l{{ googlebooks_id }}">Add to Wishlist</span>
{% else %}
<span class="work_id" id="l{{ workid }}">Add to Wishlist</span>
{% endif %}
{% endifequal %}
</div>
{% endif %}{% endifequal %}{% endif %}{% endif %}

View File

@ -24,10 +24,17 @@
</span>
</li>
<li class="parent">
<span class="faq">Will I be charged if the campaign doesn't succeed?</span>
<span class="menu level2 answer">
Nope!
</span>
</li>
<li class="parent">
<span class="faq">What if I want to change my pledge?</span>
<span class="menu level2 answer">
You can change or cancel your pledge at any time before the campaign ends. This will be the campaign's deadline ({{ campaign.deadline }}) or midnight (Eastern US time) on the day the campaign succeeds, whichever comes first. Go to <a href="{% url work work.id %}">this book's page</a> and click on the Modify Pledge button.
You can change or cancel your pledge at any time before the campaign ends. This will be the campaign's deadline ({{ campaign.deadline }}) or midnight (Eastern US time) on the day the campaign succeeds, whichever comes first. Go to your <a href="{% url manage_account %}">Account & Pledges page</a> (always accessible under "Hi, {{ username }}!" in the upper right corner of the site).
</span>
</li>

View File

@ -21,7 +21,7 @@ $j(document).ready(function(){
{% include "trans_summary.html" %}
</div></dd>
{% empty %}
<dt> You don't have any active pledges.</dt>
<dt>You don't have any active pledges. To make one, click on a book you'd like to support among our <a href="{% url campaign_list facet="ending" %}">active campaigns</a>. There's a "Support" button on every campaign page, or just click on your favorite premium to get started.</dt>
{% endfor %}
</dl>
<h2 id="your_payment_info">Your Payment Info</h2>

View File

@ -140,7 +140,7 @@ $j(document).ready(function(){
{% if pledged %}
<div class="btn_support modify"><form action="{% url pledge_modify work_id %}" method="get"><input type="submit" value="Modify Pledge" /></form></div>
{% else %}
<div class="btn_support"><form action="{% url pledge work_id %}" method="get"><input type="submit" value="Support" /></form></div>
<div class="btn_support"><form action="{% url pledge work_id %}" method="get"><input type="submit" value="Pledge" /></form></div>
{% endif %}
{% else %}
{% if work.first_ebook %}

View File

@ -149,6 +149,9 @@ div.book-list.listview div.add-wishlist span,
div.book-list.listview div.create-account span {
background: url("/static/images/booklist/add-wishlist.png") left center no-repeat;
}
div.book-list.listview div.add-wishlist span.booklist_pledge {
background: none;
}
div.book-list.listview div.remove-wishlist span {
background: url("/static/images/booklist/remove-wishlist-blue.png") left center no-repeat;
}

View File

@ -79,6 +79,10 @@ div.book-list.listview{
background:url("@{image-base}booklist/add-wishlist.png") left center no-repeat;
}
&.add-wishlist span.booklist_pledge {
background: none;
}
&.remove-wishlist span {
background:url("@{image-base}booklist/remove-wishlist-blue.png") left center no-repeat;
}