From 89b92b4dba2b4143de40d7280e11d9d67930ad16 Mon Sep 17 00:00:00 2001 From: Andromeda Yelton Date: Wed, 24 Oct 2012 11:24:46 -0400 Subject: [PATCH] add acknowledgements to support menu --- frontend/templates/work.html | 41 ++++++++++++++++++++++++++++++++++-- static/css/campaign.css | 3 +++ static/less/campaign.less | 4 ++++ 3 files changed, 46 insertions(+), 2 deletions(-) diff --git a/frontend/templates/work.html b/frontend/templates/work.html index 8651953e..dddc9f82 100644 --- a/frontend/templates/work.html +++ b/frontend/templates/work.html @@ -198,7 +198,7 @@ $j(document).ready(function(){ {% else %}{% if request.user.id in work.last_campaign.supporters %}
- Pledged! + Yours!
{% else %}{% if work in request.user.wishlist.works.all %}
@@ -416,7 +416,7 @@ $j(document).ready(function(){ {% if premium.limit == 0 or premium.limit > premium.premium_count %}
  • - {% if premium.amount %}${{ premium.amount|floatformat:0|intcomma }}{% else %}Any amount{% endif %}{% if pledged.0.premium == premium %}
    Pledged!
    {% endif %} + {% if premium.amount %}${{ premium.amount|floatformat:0|intcomma }}{% else %}Any amount{% endif %}{% if pledged.0.premium == premium %}
    Yours!
    {% endif %} {{ premium.description }} {% ifnotequal premium.limit 0 %}
    Only {{ premium.premium_remaining }} remaining! {% endifnotequal %}
  • @@ -437,6 +437,43 @@ $j(document).ready(function(){
    +
    +

    Acknowledgements

    + +
    + {% endif %} diff --git a/static/css/campaign.css b/static/css/campaign.css index 3ea55597..0cd70b87 100755 --- a/static/css/campaign.css +++ b/static/css/campaign.css @@ -630,6 +630,9 @@ ul.support li { padding: 10px 5px 10px 10px; background: url("/static/images/icons/pledgearrow.png") 98% center no-repeat; } +ul.support li.last { + border-bottom: none; +} ul.support li span { display: block; padding-right: 10px; diff --git a/static/less/campaign.less b/static/less/campaign.less index 64a536f9..82989e63 100644 --- a/static/less/campaign.less +++ b/static/less/campaign.less @@ -363,6 +363,10 @@ ul.support li { padding:10px 5px 10px 10px; background:url("@{image-base}icons/pledgearrow.png") 98% center no-repeat; + &.last { + border-bottom: none; + } + span { display:block; padding-right:10px;