diff templates/sat_website/membership.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 9ae3d9c8b28a
children 699b9b130368
line wrap: on
line diff
--- a/templates/sat_website/membership.html	Tue Oct 20 10:11:27 2015 +0200
+++ b/templates/sat_website/membership.html	Tue Oct 20 11:15:45 2015 +0200
@@ -28,6 +28,7 @@
 {% block headline %}{% trans "Join the association" %}{% endblock %}
 {% block main_container %}
 
+{% comment %}
 <div class="row">
     <div class="info text-center">
 	    <video class="video-campaign" poster="http://ftp.goffi.org/media/video/posters/libervia_adhesion_2015.png" controls preload="none">
@@ -37,10 +38,36 @@
 		    <track label="{{lang.name_local}}" src="http://ftp.goffi.org/media/video/libervia_adhesion_2015_{{LANGUAGE_CODE}}.vtt" kind="subtitles" srclang="{{LANGUAGE_CODE}}" default />
             {% blocktrans with firefox="<a href=\"http://www.mozilla.org/\">Firefox</a>" %}Your browser doesn't manage the « video » tag, you should update, e.g. with the last {{ firefox }}.{% endblocktrans %}
 	    </video>
-    </div>
+	</div>
 </div>
+
+# FIXME: dirty implementation just for the duration of the campaign!
+{% 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="row">
     <h5 class="alert alert-success">{% trans "About the association" %}</h5>
     <div class="info">
         <p>{% trans "We want it to be as transparent as the software. You can read about its mission, its organisation and check the official documents." %}</p>
@@ -51,6 +78,8 @@
 <div class="row">
     <h5 class="alert alert-success">{% trans "Become a member" %}</h5>
     <div class="info">
+
+		{% comment %}
         <p>{% blocktrans %}For 2015, we need about {{ asso_finance_target }} € for:
             <ul>
                 <li>two full-time salaries based on the French minimal salary;</li>
@@ -66,17 +95,19 @@
         </p>
         {% include "sat_website/finance.html" with obj="members" %}
         {% include "sat_website/finance.html" %}
+        {% endcomment %}
+
         <p>{% trans "The membership lasts exactly one year and isn't automatically renewed: you have to renew it yourself and you can change the amount of your subscription every year." %}</p>
         <p>
         {% trans "To join the association without paying any subscription or to proceed with a bank transfer, please use our internal form:" %}
         </p>
-        <p class="text-center">
-            <a class="btn btn-primary btn-lg" href="membership_form.html" role="button">{% trans "Join for free or proceed with a transfer" %}</a>
+        <p>
+            <a class="btn btn-default" href="membership_form.html" role="button">{% trans "Join for free or proceed with a transfer" %}</a>
         </p>
         <p>{% trans "If you prefer to proceed by card, you can directly use a secure payment service hosted by our bank. We unfortunately cannot pre-fill the form fields. Please enter a positive amount from those defined in the Rules of Procedure: 10, 20, 30, 50, 80 or 100." %}
         </p>
-        <p class="text-center">
-            <a class="btn btn-primary btn-lg" href="https://www.apayer.fr/salut-a-toi" target="#" role="button">{% trans "Join and proceed by card" %}</a>
+        <p>
+            <a class="btn btn-default" href="https://www.apayer.fr/salut-a-toi" target="#" role="button">{% trans "Join and proceed by card" %}</a>
         </p>
     </div>
 </div>