Mercurial > sat_legacy_website
changeset 120:80a0f195231a
show the campaign big banner on the "overview" page
author | souliane <souliane@mailoo.org> |
---|---|
date | Fri, 06 Nov 2015 09:07:12 +0100 |
parents | b9db98c5a007 |
children | 544859115f88 |
files | templates/sat_website/base.html templates/sat_website/overview.html |
diffstat | 2 files changed, 26 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/templates/sat_website/base.html Tue Nov 03 17:04:20 2015 +0100 +++ b/templates/sat_website/base.html Fri Nov 06 09:07:12 2015 +0100 @@ -36,7 +36,8 @@ <title>{% block title %}{% trans "Salut à Toi: the multi frontend, multipurpose communication tool" %}{% endblock %}</title> </head> <body role="document"> - {% if category != "membership" and category != "membership_form" and category != "thank_you" %} + {% comment %}FIXME: remove "" and "overview" from the following test when the campaign is over{% endcomment %} + {% if category != "" and category != "overview" and category != "membership" and category != "membership_form" and category != "thank_you" %} <div class="alert alert-info banner"> <div class="container">
--- a/templates/sat_website/overview.html Tue Nov 03 17:04:20 2015 +0100 +++ b/templates/sat_website/overview.html Fri Nov 06 09:07:12 2015 +0100 @@ -40,6 +40,30 @@ </h1> </header> + {% comment %}FIXME: remove when the campaign is over{% endcomment %} + <div class="row"> + <div class="alert alert-info"> + <p style="text-align: center"> + <a href="http://www.arizuka.com/{{LANGUAGE_CODE}}/projects/libervia/" target="#"> + <img src="{% static "images/misc/campagne_android.png" %}" style="max-width:100%;" /> + </a> + </p> + <p> </p> + <p style="max-width: 754px; text-align: justify; margin: auto"> + {% trans "We are curently running a crowdfunding campaign for the development of an <b>Android application</b> (frontend for smartphones)." %} + {% trans "During this period, we would kindly ask you to support the campaign instead of paying a membership fee. It is still and always possible to join the association for free. It doesn't change anything for you but it helps the campaign to succeed. <b>Thank you!</b>" %} + </p> + <p style="text-align: center; font-size: x-large"> + {{ campaign_countdown }} + {% if campaign_countdown > 1 %}{% trans " days" %}{% else %}{% trans "day" %}{% endif %} + {% trans "left!" %} + </p> + <p style="text-align: center"> + <a class="btn btn-primary btn-lg" href="http://www.arizuka.com/{{LANGUAGE_CODE}}/projects/libervia/" target="#" role="button">{% trans "Crowdfunding campaign" %}</a> + </p> + </div> + </div> + <div class="overview_spacer"></div> <div>