From d59b4228a6decf3101284f4338737cd2707342c4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20Oudin?= <oudin@crans.org>
Date: Fri, 6 Dec 2019 18:36:47 +0100
Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20des=20contreparties?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 app/view/campaign/home.html |  2 +-
 app/view/user/infos.html    | 16 ++++++++--------
 app/view/user/perso.html    | 24 ++++++++++++------------
 3 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/app/view/campaign/home.html b/app/view/campaign/home.html
index 782278f..1cc292b 100644
--- a/app/view/campaign/home.html
+++ b/app/view/campaign/home.html
@@ -61,7 +61,7 @@
 								<div class="modal-row">
 									<div class="form-inline form-accent col-md-7">
 										<label for="amount_other">{{ _("OU") }}</label>
-										<input class="form-control" type="text" name="amount_other" value="" placeholder="80€">
+										<input class="form-control" type="text" name="amount_other" value="" placeholder="Montant libre">
 									</div>
 									<div class="form-inline col-md-4" id="monthly">
 										<input type="radio" class="radio" name="monthly" id="monthly1" value="true">
diff --git a/app/view/user/infos.html b/app/view/user/infos.html
index e8e4632..d5db158 100644
--- a/app/view/user/infos.html
+++ b/app/view/user/infos.html
@@ -68,17 +68,17 @@
         <input type="hidden" name="contrepartie" id="contrepartie" value="" />
 
         <input type="button" class="big_button cntrprt" id="0" value="{{ _("Rien") }}" />
-        <check if="{{ @infos.cumul>=30 }}">
-            <input type="button" class="big_button cntrprt" id="30" value="30&nbsp;&euro;" />
+        <check if="{{ @infos.cumul>=42 }}">
+            <input type="button" class="big_button cntrprt" id="42" value="42&nbsp;&euro;" />
         </check>
-        <check if="{{ @infos.cumul>=50 }}">
-            <input type="button" class="big_button cntrprt" id="50" value="50&nbsp;&euro;" />
+        <check if="{{ @infos.cumul>=64 }}">
+            <input type="button" class="big_button cntrprt" id="64" value="64&nbsp;&euro;" />
         </check>
-        <check if="{{ @infos.cumul>=100 }}">
-            <input type="button" class="big_button cntrprt" id="100" value="100&nbsp;&euro;" />
+        <check if="{{ @infos.cumul>=128 }}">
+            <input type="button" class="big_button cntrprt" id="128" value="128&nbsp;&euro;" />
         </check>
-        <check if="{{ @infos.cumul>=250 }}">
-            <input type="button" class="big_button cntrprt" id="250" value="250&nbsp;&euro;" />
+        <check if="{{ @infos.cumul>=314 }}">
+            <input type="button" class="big_button cntrprt" id="314" value="314&nbsp;&euro;" />
         </check>
         <div id="cadeaux">
         </div>
diff --git a/app/view/user/perso.html b/app/view/user/perso.html
index 45d69d1..95c7cb7 100644
--- a/app/view/user/perso.html
+++ b/app/view/user/perso.html
@@ -229,12 +229,12 @@
             <form method="GET" action="{{ 'perso' | alias }}" name="contreparties">
                 <input type="hidden" name="validate" value="true">
                 <label></label>
-                <check if="{{ @infos.cumul >= 30 }}">
+                <check if="{{ @infos.cumul >= 42 }}">
                 <div class="col-md-8 col-md-offset-2"><!-- piplome -->
                     <div class="panel panel-default">
                         <div class="panel-body c-panelcontrepartie">
                             <div class="col-md-1">
-                                <input type="radio" name="quoi" id="quoi1" class="radio" checked <check if="{{ @infos.cumul < 30 }}">disabled</check> value="piplome">
+                                <input type="radio" name="quoi" id="quoi1" class="radio" checked <check if="{{ @infos.cumul < 42 }}">disabled</check> value="piplome">
                                 <label for="quoi1"></label>
                             </div>
                             <div class="col-md-3 text-center">
@@ -254,18 +254,18 @@
                                 </div>
                             </div>
                             <div class="c-prixcontrepartie">
-                                <p>30&nbsp;€</p>
+                                <p>42&nbsp;€</p>
                             </div>
                         </div>
                     </div>
                 </div><!-- piplome -->
                 </check>
-                <check if="{{ @infos.cumul >= 50 }}">
+                <check if="{{ @infos.cumul >= 64 }}">
                 <div class="col-md-8 col-md-offset-2"><!-- Pibag -->
                     <div class="panel panel-default">
                         <div class="panel-body c-panelcontrepartie">
                             <div class="col-md-1">
-                                <input type="radio" class="radio" id="quoi2" name="quoi" <check if="{{ @infos.cumul < 50 }}">disabled</check> value="pibag">
+                                <input type="radio" class="radio" id="quoi2" name="quoi" <check if="{{ @infos.cumul < 64 }}">disabled</check> value="pibag">
                                 <label for="quoi2"></label>
                             </div>
                             <div class="col-md-3 text-center">
@@ -282,18 +282,18 @@
                                 </div>
                             </div>
                             <div class="c-prixcontrepartie">
-                                <p>50&nbsp;€</p>
+                                <p>64&nbsp;€</p>
                             </div>
                         </div>
                     </div>
                 </div><!-- / Pibag -->
                 </check>
-                <check if="{{ @infos.cumul >= 100 }}">
+                <check if="{{ @infos.cumul >= 128 }}">
                 <div class="col-md-8 col-md-offset-2"><!-- Pishirt -->
                     <div class="panel panel-default">
                         <div class="panel-body c-panelcontrepartie">
                             <div class="col-md-1">
-                                <input type="radio" class="radio" id="quoi3" name="quoi" <check if="{{ @infos.cumul < 100 }}">disabled</check> value="pishirt">
+                                <input type="radio" class="radio" id="quoi3" name="quoi" <check if="{{ @infos.cumul < 128 }}">disabled</check> value="pishirt">
                                 <label for="quoi3"></label>
                             </div>
                             <div class="col-md-3 text-center">
@@ -319,18 +319,18 @@
                                 </div>
                             </div>
                             <div class="c-prixcontrepartie">
-                                <p>100&nbsp;€</p>
+                                <p>128&nbsp;€</p>
                             </div>
                         </div>
                     </div>
                 </div><!-- / Pishirt -->
                 </check>
-                <check if="{{ @infos.cumul >= 250 }}">
+                <check if="{{ @infos.cumul >= 314 }}">
                 <div class="col-md-8 col-md-offset-2"><!-- Hoopi -->
                     <div class="panel panel-default">
                         <div class="panel-body c-panelcontrepartie">
                             <div class="col-md-1">
-                                <input type="radio" class="radio" id="quoi4" name="quoi"<check if="{{ @infos.cumul < 250 }}">disabled</check> value="hoodie">
+                                <input type="radio" class="radio" id="quoi4" name="quoi"<check if="{{ @infos.cumul < 314 }}">disabled</check> value="hoodie">
                                 <label for="quoi4"></label>
                             </div>
                             <div class="col-md-3 text-center">
@@ -356,7 +356,7 @@
                                 </div>
                             </div>
                             <div class="c-prixcontrepartie">
-                                <p>250&nbsp;€</p>
+                                <p>314&nbsp;€</p>
                             </div>
                         </div>
                     </div>
-- 
GitLab