Skip to content
Extraits de code Groupes Projets
Vérifiée Valider d59b4228 rédigé par Guinness's avatar Guinness
Parcourir les fichiers

Mise à jour des contreparties

parent bcb9529f
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion!122Preprod
......@@ -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">
......
......@@ -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>
......
......@@ -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>
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter