diff templates/sat_website/overview.html @ 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 777750923062
children 544859115f88
line wrap: on
line diff
--- 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>&nbsp;</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>