Mercurial > sat_legacy_website
diff templates/sat_website/base.html @ 116:e138879873f1
changes to link the crowdfunding campaign (revert to be done manually after 45 days)
author | souliane <souliane@mailoo.org> |
---|---|
date | Tue, 20 Oct 2015 11:15:45 +0200 |
parents | f3b907d0e5ab |
children | 80a0f195231a |
line wrap: on
line diff
--- a/templates/sat_website/base.html Tue Oct 20 10:11:27 2015 +0200 +++ b/templates/sat_website/base.html Tue Oct 20 11:15:45 2015 +0200 @@ -38,7 +38,10 @@ <body role="document"> {% if category != "membership" and category != "membership_form" and category != "thank_you" %} <div class="alert alert-info banner"> - <div class="container"><div class="row"> + <div class="container"> + + {% comment %} + <div class="row"> <div class="col-md-10"> {% trans "We need your support to continue and move forward! Take the time to read about what we do. If you like it, please join the association." %} {% include "sat_website/finance.html" %} @@ -46,7 +49,19 @@ <div class="col-md-2"> <a class="btn btn-default" href="membership.html" role="button">{% trans "Membership" %}</a> </div> - </div></div> + </div> + + # FIXME: dirty implementation just for the duration of the campaign! + {% endcomment %} + <div class="text-center"> + {{ campaign_countdown }} + {% if campaign_countdown > 1 %}{% trans " days" %}{% else %}{% trans "day" %}{% endif %} + {% trans "left to support our" %} + <a class="btn btn-default" style="float:none" href="http://www.arizuka.com/{{LANGUAGE_CODE}}/projects/libervia/" target="#" role="button">{% trans "crowdfunding campaign" %}</a> + {% trans "for an Android interface!" %} + </div> + + </div> </div> {% else %} <div class="banner"></div>