diff --git a/frontend/templates/notification/pledge_you_have_pledged/full.txt b/frontend/templates/notification/pledge_you_have_pledged/full.txt index 017a44b8..c2e2deb5 100644 --- a/frontend/templates/notification/pledge_you_have_pledged/full.txt +++ b/frontend/templates/notification/pledge_you_have_pledged/full.txt @@ -8,7 +8,7 @@ You can help even more by sharing this campaign with your friends. Facebook: https://www.facebook.com/sharer.php?u=http://{{ domain }}{% url work work_id %} -Twitter: https://twitter.com/intent/tweet?url=http://{{ domain }}{% url work work_id %}&text=I%27m%20ungluing%20{{ title|urlencode }}%20at%20%40unglueit.%20Join%20me%21" +Twitter: https://twitter.com/intent/tweet?url=http://{{ domain }}{% url work work_id %}&text=I%27m%20ungluing%20{{ title|urlencode }}%20at%20%40unglueit.%20Join%20me%21" You can also embed this widget for {{ title }} in your web site: diff --git a/frontend/templates/pledge.html b/frontend/templates/pledge.html index 64daccc1..f17d2795 100644 --- a/frontend/templates/pledge.html +++ b/frontend/templates/pledge.html @@ -46,14 +46,17 @@ -
+
{% if faqmenu == 'modify' %} -
You've already pledged to this campaign.
- Amount: ${{preapproval_amount|intcomma}}.
- Your premium: {% if premium_description %}{{ premium_description }}{% else %}You did not request a premium for this campaign.{% endif %}
- If you would like to modify your pledge, please use the following form.
+

You've already pledged to this campaign:

+
+ Amount: ${{preapproval_amount|intcomma}}.
+ Your premium: {% if premium_description %}{{ premium_description }}{% else %}You did not request a premium for this campaign.{% endif %}
+
+
You can modify your pledge below. +
{% endif %} {% comment %} @@ -90,8 +93,8 @@
- -{% if faqmenu == 'modify' %}
We hope you won't, but of course you're also free to cancel your pledge.
{% endif %} +
+{% if faqmenu == 'modify' %}
We hope you won't, but of course you're also free to cancel your pledge.
{% endif %} {% endblock %} diff --git a/frontend/templates/work.html b/frontend/templates/work.html index 15782515..6a17832b 100644 --- a/frontend/templates/work.html +++ b/frontend/templates/work.html @@ -52,6 +52,7 @@ $j(document).ready(function(){ {% block content %} {% with work.last_campaign_status as status %} +{% with work.id as work_id %}
@@ -123,9 +124,9 @@ $j(document).ready(function(){
{% if status == 'ACTIVE' %} {% if pledged %} -
+
{% else %} -
+
{% endif %} {% endif %}
@@ -160,13 +161,13 @@ $j(document).ready(function(){ {% if work.googlebooks_id %} Find on Google Books {% endif %} - Find on OpenLibrary + Find on OpenLibrary {% if not request.user.is_anonymous %} {% if request.user.profile.goodreads_user_link %} - Find on GoodReads + Find on GoodReads {% endif %} {% if request.user.profile.librarything_id %} - Find on LibraryThing + Find on LibraryThing {% endif %} {% endif %}
@@ -198,7 +199,7 @@ $j(document).ready(function(){
{% if request.user.is_anonymous %} {% else %}{% if request.user.id in work.last_campaign.supporters %}
@@ -206,11 +207,11 @@ $j(document).ready(function(){
{% else %}{% if work in request.user.wishlist.works.all %}
- Remove This + Remove This
{% else %}
- Add to Wishlist + Add to Wishlist
{% endif %}{% endif %}{% endif %}
@@ -322,7 +323,7 @@ $j(document).ready(function(){

Editions

{% if user.is_staff %} -
Create a new edition for this work

+
Create a new edition for this work

{% endif %} {% if alert %}
Ebook Contribution:
{{ alert }}
{% endif %} @@ -337,7 +338,7 @@ $j(document).ready(function(){ OCLC: {{ edition.oclc }}
{% endif %} {% if user.is_staff %} - Edit this edition
+ Edit this edition
{% endif %} {% if edition.googlebooks_id %} See this edition on Google Books @@ -392,16 +393,29 @@ $j(document).ready(function(){

Support

@@ -411,4 +425,5 @@ $j(document).ready(function(){ {% endwith %} +{% endwith %} {% endblock %} diff --git a/static/css/pledge.css b/static/css/pledge.css index f271b11a..eb8371bf 100644 --- a/static/css/pledge.css +++ b/static/css/pledge.css @@ -124,3 +124,15 @@ p { .jsmodule.pledge .jsmod-content { float: right !important; } +.modify_notification { + width: 452px; + margin-bottom: 7px; + border: solid 2px #8dc63f; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + border-radius: 5px; + padding: 7px; +} +.modify_notification h4 { + margin: 0 0 5px 0; +} diff --git a/static/less/pledge.less b/static/less/pledge.less index 34209128..e7951e93 100644 --- a/static/less/pledge.less +++ b/static/less/pledge.less @@ -42,4 +42,16 @@ p { .jsmod-content { float: right !important; } +} + +.modify_notification { + width: 452px; + margin-bottom: 7px; + border: solid 2px @call-to-action; + .one-border-radius(5px); + padding: 7px; + + h4 { + margin: 0 0 5px 0; + } } \ No newline at end of file