perso.html 27.1 KB
Newer Older
Marne's avatar
Marne committed
1
<section id="wrapper">
okhin's avatar
okhin committed
2 3 4 5 6 7 8 9 10 11
    <div id="subtitle" class="row">
        <div class="page-header">
            <h1 class="text-left">{{ _("Merci de soutenir La Quadrature du Net &lt;3&nbsp;!")}}</h1>
        </div>
        <div id="perso" class="row fluid">
            <div class="col-md-4"><!-- Form infos du compte -->
                <div class="panel panel-default">
                    <input id="compte" type="checkbox">
                    <label for="compte" class="panel-heading" role="tab" id="headingInfos">
                        <div class="panel-title col-xs text-left">
okhin's avatar
okhin committed
12
                            {{ _("Compte")}}
okhin's avatar
okhin committed
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
                            <div class="panel-title col-xs-2 text-right">
                            </div>
                        </div>
                    </label>
                    <div id="collapseInfos" class="panel-collapse collapse" aria-labelledby="headingInfos">
                        <div class="panel-body text-left">
                            <form method="POST" action="{{ 'infos' | alias }}">
                                <input type="hidden" name="csrf" value="{{ @CSRF }}" />
                                <div class="form-group">
                                    <label for="pseudo">{{ _("Pseudo") }}</label>
                                    <input type="text" class="form-control" id="pseudo" name="pseudo" value="{{ @infos.pseudo }}">
                                </div>
                                <div class="form-group">
                                    <label for="email">{{ _("Adresse mail")}}</label>
                                    <input type="email" class="form-control" name="email" id="email" value="{{ @infos.email }}">
                                </div>
                                <div class="form-group">
                                    <label for="password">{{ _("Mot de passe")}}</label>
                                    <input type="password" class="form-control" name="password" id="password">
                                </div>
                                <div class="form-group">
                                    <label for="password_confirmation">{{ _("Confirmation de mot de passe")}}</label>
                                    <input type="password" class="form-control" name="password_confirmation" id="password_confirmation">
                                </div>
                                <input type="submit" class="btn btn-lg btn-primary c-boutonslongs" value="{{ _("Mettre à jour") }}">
                            </form>
39
                        </div>
okhin's avatar
okhin committed
40
                    </div>
okhin's avatar
okhin committed
41
                </div>
okhin's avatar
okhin committed
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
                <div id="collapseInfos" class="panel-collapse collapse" aria-labelledby="headingInfos">
                    <div class="panel-body text-left">
                        <form method="POST" action="{{ 'infos' | alias }}">
                            <input type="hidden" name="csrf" value="{{ @CSRF }}" />
                            <div class="form-group">
                                <label for="pseudo">{{ _("Pseudo") }}</label>
                                <input type="text" class="form-control" id="pseudo" name="pseudo" value="{{ @infos.pseudo }}">
                            </div>
                            <div class="form-group">
                                <label for="email">{{ _("Adresse mail")}}</label>
                                <input type="email" class="form-control" name="email" id="email" value="{{ @infos.email }}">
                            </div>
                            <div class="form-group">
                                <label for="password">{{ _("Mot de passe")}}</label>
                                <input type="password" class="form-control" name="password" id="password">
57
                            </div>
okhin's avatar
okhin committed
58 59 60
                            <div class="form-group">
                                <label for="password_confirmation">{{ _("Confirmation de mot de passe")}}</label>
                                <input type="password" class="form-control" name="password_confirmation" id="password_confirmation">
61
                            </div>
okhin's avatar
okhin committed
62 63 64 65
                            <input type="submit" class="btn btn-lg btn-primary c-boutonslongs" value="{{ _("Mettre à jour") }}">
                        </form>
                    </div>
                </div>
okhin's avatar
okhin committed
66 67 68 69 70 71
            </div><!-- /Form infos du compte -->
            <div class="col-md-4"><!-- Form addresses -->
                <div class="panel panel-default">
                    <input id="adresses" type="checkbox">
                    <label for="adresses" class="panel-heading" role="tab" id="headingInfos">
                        <div class="panel-title col-xs text-left">
okhin's avatar
okhin committed
72
                            {{ _("Adresse")}}
okhin's avatar
okhin committed
73 74
                            <div class="panel-title col-xs-2 text-right">
                            </div>
okhin's avatar
90  
okhin committed
75
                        </div>
okhin's avatar
okhin committed
76 77 78
                    </label>
                    <div id="collapseAdresses" class="panel-collapse collapse" href="#collapseAdresses" aria-expanded="false" aria-controls="collapseAdresses">
                        <div class="panel-body text-left">
okhin's avatar
okhin committed
79
                            <h3>{{ _("Renseigner votre adresse.")}}</h3>
okhin's avatar
okhin committed
80 81 82
                            <form method="POST" action="{{ 'adresses' | alias }}" id="create-adress-form">
                                <input type="hidden" name="csrf" value="{{ @CSRF }}" />
                                <input type="hidden" name="action" value="ADD" />
okhin's avatar
okhin committed
83
                                <input type="hidden" name="id" value="{{ @@adresse.id }}" />
okhin's avatar
okhin committed
84 85
                                <div class="form-group">
                                    <label for="nom">{{ _("Destinataire") }}</label>
okhin's avatar
okhin committed
86
                                    <input type="text" class="form-control" name="nom" value="{{ @@adresse.nom }}">
okhin's avatar
okhin committed
87 88 89
                                </div>
                                <div class="form-group">
                                    <label for="adresse">{{ _("Adresse")}}</label>
okhin's avatar
okhin committed
90
                                    <input type="text" class="form-control" name="adresse" value="{{ @@adresse.adresse }}">
okhin's avatar
okhin committed
91 92 93
                                </div>
                                <div class="form-group">
                                    <label for="adresse2">{{ _("Complément d'adresse")}}</label>
okhin's avatar
okhin committed
94
                                    <input type="text" class="form-control" name="adresse2" value=" {{ @@adresse.adresse2 }}">
okhin's avatar
okhin committed
95 96 97
                                </div>
                                <div class="form-group">
                                    <label for="codepostal">{{ _("Code Postal")}}</label>
okhin's avatar
okhin committed
98
                                    <input type="text" class="form-control" name="codepostal" value="{{ @@adresse.codepostal }}">
okhin's avatar
okhin committed
99 100 101
                                </div>
                                <div class="form-group">
                                    <label for="ville">{{ _("Ville")}}</label>
okhin's avatar
okhin committed
102
                                    <input type="text" class="form-control" name="ville" value="{{ @@adresse.ville }}">
okhin's avatar
okhin committed
103 104 105
                                </div>
                                <div class="form-group">
                                    <label for="state">{{ _("Province / État")}}</label>
okhin's avatar
okhin committed
106
                                    <input type="text" class="form-control" name="state" value="{{ @@adresse.state }}">
okhin's avatar
okhin committed
107 108 109
                                </div>
                                <div class="form-group">
                                    <label for="pays">{{ _("Pays")}}</label>
okhin's avatar
okhin committed
110
                                    <input type="text" class="form-control" name="pays" value="{{ @@adresse.pays }}">
okhin's avatar
okhin committed
111
                                </div>
okhin's avatar
okhin committed
112 113 114 115 116
                                <check if="{{ @adresse }}">
                                <true>
                                <input type="submit" class="btn btn-lg c-boutonslongs" value="{{ _("Modifier cette adresse")}}">
                                </true>
                                <false>
okhin's avatar
okhin committed
117
                                <input type="submit" class="btn btn-lg c-boutonslongs" value="{{ _("Créer cette adresse")}}">
okhin's avatar
okhin committed
118 119
                                </false>
                                </check>
okhin's avatar
okhin committed
120
                            </form>
okhin's avatar
90  
okhin committed
121
                        </div>
122
                    </div>
okhin's avatar
90  
okhin committed
123
                </div>
okhin's avatar
okhin committed
124 125 126 127 128 129 130 131 132
            </div><!-- / Form Adresses -->
            <div class="col-md-4"><!-- Form historique -->
                <div class="panel panel-default">
                    <input id="histo" type="checkbox">
                    <label for="histo" class="panel-heading" role="tab" id="headingInfos">
                        <div class="panel-title col-xs text-left">
                            {{ _("Historique")}}
                            <div class="panel-title col-xs-2 text-right">
                            </div>
okhin's avatar
90  
okhin committed
133
                        </div>
okhin's avatar
okhin committed
134 135 136 137 138 139 140 141
                    </label>
                    <div id="collapseHistorique" class="panel-collapse collapse" aria-labelledby="headingHistorique">
                        <div class="panel-body text-left">
                            <table class="table text-left">
                                <tr>
                                    <th>{{ _("Date") }}</th>
                                    <th>{{ _("Dons") }}</th>
                                    <th>{{ _("Récurent") }}</th>
okhin's avatar
okhin committed
142
                                    <th>{{ _("Piplome") }}</th>
okhin's avatar
okhin committed
143
                                </tr>
144
                                <repeat group="{{ @historique }}" value="{{ @don }}">
okhin's avatar
okhin committed
145 146 147
                                <tr>
                                    <td>{{ @don.datec }}</td>
                                    <td>{{ @don.somme }}</td>
Guinness's avatar
Guinness committed
148 149 150 151 152 153 154
                                    <check if="{{ @don.status==100 }}">
                                        <true><td>{{ _("En attente de validation") }}</td></true>
                                    </check>
                                    <check if="{{ @don.status==101 }}">
                                        <true><td>{{ _("Enregistré")}}</td></true>
                                    </check>
                                    <check if="{{ @don.status==102 }}">
155
                                        <true><td>{{ _("Oui") }}</td></true>
Guinness's avatar
Guinness committed
156 157
                                    </check>
                                    <check if="{{ @don.status==104 }}">
Mindiell's avatar
Mindiell committed
158
                                        <true><td>{{ _("Oui (en erreur)") }}</td></true>
159 160
                                        <false><td>{{ _("Non") }}</td></false>
                                    </check>
161 162
                                    <td>
                                        <check if="{{ @don.pdf == '' }}">
Guinness's avatar
Guinness committed
163 164 165
                                            <true>
                                                <a href="/cron/piplome/{{ @don.id }}">{{ _("Générer") }}</a>
                                            </true>
166
                                            <false>
okhin's avatar
okhin committed
167
                                                <a href="{{ PIPLOME_URL }}{{ @don.pdf }}.pdf" target="_blank">{{ @pdfs[@don.pdf].decimale }}.pdf</a>
168 169 170
                                            </false>
                                        </check>
                                    </td>
okhin's avatar
okhin committed
171 172
                                </tr>
                                </repeat>
okhin's avatar
okhin committed
173 174 175 176 177 178
                            </table>
                            <table class="table text-left">
                                <tr>
                                    <th>{{ _("Date") }}</th>
                                    <th>{{ _("Contreparties") }}</th>
                                </tr>
okhin's avatar
okhin committed
179 180 181 182 183 184 185
                                <repeat group="{{ @contreparties }}" value="{{ @contrepartie }}">
                                <tr>
                                    <td>{{ @contrepartie.datec }}</td>
                                    <td>{{ @contrepartie.quoi }}</td>
                                </tr>
                                </repeat>
                            </table>
okhin's avatar
90  
okhin committed
186
                        </div>
okhin's avatar
okhin committed
187
                    </div>
188
                </div>
okhin's avatar
okhin committed
189
            </div><!-- / Form historique -->
okhin's avatar
90  
okhin committed
190
        </div>
okhin's avatar
okhin committed
191
</section>
Marne's avatar
Marne committed
192
<section id="wrapper" class="text-center fluid">
okhin's avatar
okhin committed
193 194 195 196 197
    <div id="subtitle" class="row">
        <div class="page-header">
            <h2 class="text-left">{{ _("Vos dons")}}</h2>
        </div>
    </div>
Marne's avatar
Marne committed
198
    <div id="vosdons" class="row">
okhin's avatar
okhin committed
199 200 201 202 203
        <div class="col-md-4"><!-- déjà donné -->
            <div class="panel panel-default">
                <div class="panel-heading" role="tab" id="headingOne">
                    <div class="panel-title">
                        <p>{{ _("Vous avez déjà donné")}}</p>
204 205
                    </div>
                </div>
okhin's avatar
okhin committed
206 207 208
                <div class="panel-body c-pannelfondblanc">
                    <p class="c-groschiffre">{{ @infos.total }}&nbsp;</p>
                </div>
209
            </div>
okhin's avatar
okhin committed
210 211 212 213 214 215 216 217 218 219
        </div><!-- / Déjà donné -->
        <div class="col-md-4"><!-- disponible -->
            <div class="panel panel-default">
                <div class="panel-heading" role="tab" id="headingOne">
                    <div class="panel-title">
                        <p>{{ _("Disponible pour demander des contreparties")}}</p>
                    </div>
                </div>
                <div class="panel-body c-pannelfondblanc">
                    <p class="c-groschiffre">{{ @infos.cumul }}&nbsp;</p>
220 221
                </div>
            </div>
okhin's avatar
okhin committed
222 223 224 225
        </div><!-- / disponible -->
    </div>
    <div class="row"><!-- nouveau don -->
        <div class="row">
okhin's avatar
okhin committed
226 227 228
            <div class="col-md-4 col-md-offset-4">
                <a href="/#step1" type=""class="btn btn-lg btn-primary c-boutonscourts">{{ _("Faire un nouveau don")}}</a>
            </div>
229 230 231
        </div>
    </div>
</section>
okhin's avatar
okhin committed
232

Marne's avatar
Marne committed
233
<section id="wrapper" class="text-center fluid">
okhin's avatar
okhin committed
234 235 236 237
    <div id="subtitle" class="row">
        <div class="page-header">
            <h2 class="text-left">{{ _("Demander des contreparties")}}</h2>
        </div>
Marne's avatar
Marne committed
238
        <p class="text-left">{{ _("Pour demander vos contreparties, cliquez sur le pack de votre choix, indiquez une adresse postale et validez.")}}</p>
okhin's avatar
okhin committed
239 240 241
        <div id="" class="row">
            <form method="GET" action="{{ 'perso' | alias }}" name="contreparties">
                <input type="hidden" name="validate" value="true">
Marne's avatar
Marne committed
242
                <label></label>
Guinness's avatar
Guinness committed
243
                <check if="{{ @infos.cumul >= 42 }}">
okhin's avatar
okhin committed
244 245 246 247
                <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">
Guinness's avatar
Guinness committed
248
                                <input type="radio" name="quoi" id="quoi1" class="radio" checked <check if="{{ @infos.cumul < 42 }}">disabled</check> value="piplome">
Marne's avatar
Marne committed
249
                                <label for="quoi1"></label>
okhin's avatar
okhin committed
250 251 252
                            </div>
                            <div class="col-md-3 text-center">
                                <p>
253
                                <img class="" src="/static/img/piplome.svg" alt="">
okhin's avatar
90  
okhin committed
254 255 256 257 258 259 260 261 262 263 264 265 266 267
                                </p>
                            </div>
                            <div class="col-md-8">
                                <div class="form-group text-left">
                                    <label for="quoi1">
                                        <h3 class="text-left">{{ _("Piplôme")}}</h3>
                                    </label>
                                    <div class="text-left">
                                        <label for="piplome_id">{{ _("Titulaire du Piplôme")}}</label>
                                        <input type="text" class="form-control" id="piplome_id" name="piplome_id" value="" placeholder="Nom, prénom, pseudonyme, etc …">
                                    </div>
                                </div>
                            </div>
                            <div class="c-prixcontrepartie">
Guinness's avatar
Guinness committed
268
                                <p>42&nbsp;</p>
okhin's avatar
okhin committed
269 270 271
                            </div>
                        </div>
                    </div>
okhin's avatar
okhin committed
272 273
                </div><!-- piplome -->
                </check>
Guinness's avatar
Guinness committed
274
                <check if="{{ @infos.cumul >= 64 }}">
okhin's avatar
okhin committed
275 276 277 278
                <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">
Guinness's avatar
Guinness committed
279
                                <input type="radio" class="radio" id="quoi2" name="quoi" <check if="{{ @infos.cumul < 64 }}">disabled</check> value="pibag">
Marne's avatar
Marne committed
280
                                <label for="quoi2"></label>
okhin's avatar
okhin committed
281 282 283
                            </div>
                            <div class="col-md-3 text-center">
                                <p>
Marne's avatar
Marne committed
284
                                <img class="" src="/static/img/pibag2.svg" alt="">
okhin's avatar
okhin committed
285 286 287 288 289 290
                                </p>
                            </div>
                            <div class="col-md-8">
                                <div class="form-group text-left">
                                    <label for="quoi2">
                                        <h3 class="text-left">{{ _("Pibag")}}</h3>
Marne's avatar
Marne committed
291
                                        <h5>{{ _("Ainsi que le piplome.") }}</h5>
okhin's avatar
okhin committed
292 293
                                    </label>
                                </div>
okhin's avatar
okhin committed
294
                            </div>
Marne's avatar
Marne committed
295
                            <div class="c-prixcontrepartie">
Guinness's avatar
Guinness committed
296
                                <p>64&nbsp;</p>
Marne's avatar
Marne committed
297
                            </div>
okhin's avatar
okhin committed
298 299
                        </div>
                    </div>
okhin's avatar
okhin committed
300 301
                </div><!-- / Pibag -->
                </check>
Guinness's avatar
Guinness committed
302
                <check if="{{ @infos.cumul >= 128 }}">
okhin's avatar
okhin committed
303 304 305 306
                <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">
Guinness's avatar
Guinness committed
307
                                <input type="radio" class="radio" id="quoi3" name="quoi" <check if="{{ @infos.cumul < 128 }}">disabled</check> value="pishirt">
Marne's avatar
Marne committed
308
                                <label for="quoi3"></label>
okhin's avatar
okhin committed
309 310 311
                            </div>
                            <div class="col-md-3 text-center">
                                <p>
Marne's avatar
Marne committed
312
                                <img class="" src="/static/img/pishirt2.svg" alt="">
okhin's avatar
okhin committed
313 314 315 316 317 318
                                </p>
                            </div>
                            <div class="col-md-8">
                                <div class="form-group text-left">
                                    <label for="quoi3">
                                        <h3 class="text-left">{{ _("Pi-Shirt")}}</h3>
Marne's avatar
Marne committed
319
                                        <h5>{{ _("Ainsi que le piplome et le pibag.") }}</h5>
okhin's avatar
okhin committed
320 321 322 323 324 325 326 327 328 329
                                    </label>
                                    <form class="text-left">
                                        <div class="form-group text-left">
                                            <label for="taille">{{ _("Taille") }}</label>
                                            <select class="form-control" name="taille">
                                                <repeat group="{{ @atailles }}" key="{{ @key }}" value="{{ @value }}">
                                                <option value="{{ @key }}">{{ @value }}</option>
                                                </repeat>
                                            </select>
                                        </div>
okhin's avatar
90  
okhin committed
330 331 332
                                </div>
                            </div>
                            <div class="c-prixcontrepartie">
Guinness's avatar
Guinness committed
333
                                <p>128&nbsp;</p>
okhin's avatar
okhin committed
334
                            </div>
335
                        </div>
okhin's avatar
okhin committed
336
                    </div>
okhin's avatar
okhin committed
337 338
                </div><!-- / Pishirt -->
                </check>
Guinness's avatar
Guinness committed
339
                <check if="{{ @infos.cumul >= 314 }}">
okhin's avatar
okhin committed
340 341 342 343
                <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">
Guinness's avatar
Guinness committed
344
                                <input type="radio" class="radio" id="quoi4" name="quoi"<check if="{{ @infos.cumul < 314 }}">disabled</check> value="hoodie">
Marne's avatar
Marne committed
345
                                <label for="quoi4"></label>
okhin's avatar
okhin committed
346 347 348
                            </div>
                            <div class="col-md-3 text-center">
                                <p>
Marne's avatar
Marne committed
349
                                <img class="media-object" src="/static/img/hoopie2.svg" alt="">
okhin's avatar
okhin committed
350 351 352 353 354 355
                                </p>
                            </div>
                            <div class="col-md-8">
                                <div class="form-group text-left">
                                    <label for="quoi4">
                                        <h3 class="text-left">{{ _("Hoodie")}}</h3>
Marne's avatar
Marne committed
356
                                        <h5>{{ _("Ainsi que le pi-shirt, le piplome et le pibag.") }}</h5>
okhin's avatar
okhin committed
357 358 359 360 361 362 363 364 365 366
                                    </label>
                                    <form class="text-left">
                                        <div class="form-group text-left">
                                            <label for="taille">{{ _("Taille") }}</label>
                                            <select name="taille_h" class="form-control">
                                                <repeat group="{{ @atailles }}" key="{{ @key }}" value="{{ @value }}">
                                                <option value="{{ @key }}">{{ @value }}</option>
                                                </repeat>
                                            </select>
                                        </div>
okhin's avatar
90  
okhin committed
367 368 369
                                </div>
                            </div>
                            <div class="c-prixcontrepartie">
Guinness's avatar
Guinness committed
370
                                <p>314&nbsp;</p>
371 372 373
                            </div>
                        </div>
                    </div>
okhin's avatar
okhin committed
374 375
                </div><!-- / Hoopi -->
                </check>
okhin's avatar
okhin committed
376 377
                <check if="{{ @adresse }}">
                <true>
okhin's avatar
okhin committed
378 379 380
                <div class="col-md-8 col-md-offset-2">
                    <h3>{{ _("Expedier à&nbsp;:")}} {{ @adresse.nom }} {{ @adresse.adresse }}</h3>
                </div>
okhin's avatar
okhin committed
381 382 383 384 385 386
                </true>
                <false>
                <div class="col-md-8 col-md-offset-2">
                    <h3>Veuillez ajouter une adresse postale <a href="#headingInfos" for="adresses">ici</a></h3>
                </div>
                </false>
Marne's avatar
Marne committed
387
                </check>
okhin's avatar
okhin committed
388
                <div class="col-md-8 col-md-offset-2"><!-- Bouton -->
okhin's avatar
okhin committed
389
                    <input type="submit" class="btn btn-lg btn-primary c-boutonscourts" value="{{ _('Envoyer')}}" <check if="{{ @adresse }}"><false>disabled</false></check>>
okhin's avatar
okhin committed
390 391 392
                </div><!-- / bouton -->
            </form>
        </div>
okhin's avatar
okhin committed
393 394 395 396
    </div>
</section>

<!-- Modale de confirmation -->
okhin's avatar
90  
okhin committed
397
<!-- On utilise un GET /perso avec le formulaire précent pour peupler la modale -->
okhin's avatar
okhin committed
398 399 400 401
<check if="{{ @modal_counterparts == 1 }}">
<div class="modal fade show in" id="ModaleConfirmation" tabindex="-1" role="dialog">
    <div class="modal-dialog modal-lg" role="document">
        <form class="text-left" method="POST" action="{{ 'add_contrepartie' | alias}}">
okhin's avatar
90  
okhin committed
402 403
            <div class="modal-content c-modale">
                <div class="modal-body">
404
                    <h3>{{ _("Envoyer à l'adresse&nbsp;:") }}</h3>
405
                    <p class="addressmodal">
okhin's avatar
okhin committed
406 407 408 409 410 411 412 413 414 415 416
                    {{ @adresse.nom }}<br>
                    {{ @adresse.adresse }}<br>
                    <check if="{{ @@adresse.adresse2 }}">
                    {{ @adresse.adresse2 }}<br>
                    </check>
                    {{ @adresse.codepostal }}&nbsp;
                    {{ @adresse.ville }}
                    <check if="{{ @@adresse.state }}">
                    {{ @adresse.state }}&nbsp;
                    </check>
                    {{ @adresse.pays }}
417 418
                    </p>
                    <h3>{{ _("Récapitulatif&nbsp;:") }}</h3>
okhin's avatar
okhin committed
419
                    <ul class="list-unstyled">
okhin's avatar
okhin committed
420
                        <check if="{{ in_array(@GET['quoi'], array('piplome', 'pibag', 'pishirt', 'hoodie')) }}">
okhin's avatar
okhin committed
421 422 423 424 425
                        <li class="media">
                            <div class="media-left">
                                <img class="media-object" src="/static/img/piplome.svg" alt="">
                            </div>
                            <div class="media-body">
426
                                {{ _("Un piplôme") }}
okhin's avatar
okhin committed
427 428 429
                            </div>
                        </li>
                        </check>
okhin's avatar
okhin committed
430
                        <check if="{{ in_array(@GET['quoi'], array('pibag', 'pishirt', 'hoodie')) }}">
okhin's avatar
okhin committed
431 432
                        <li class="media">
                            <div class="media-left">
433
                                <img class="media-object" src="/static/img/pibag2.svg" alt="">
okhin's avatar
okhin committed
434 435
                            </div>
                            <div class="media-body">
Marne's avatar
Marne committed
436
                                {{ _("Un pibag") }}
okhin's avatar
okhin committed
437 438 439
                            </div>
                        </li>
                        </check>
okhin's avatar
okhin committed
440
                        <check if="{{ in_array(@GET['quoi'], array('pishirt', 'hoodie')) }}">
okhin's avatar
okhin committed
441 442
                        <li class="media">
                            <div class="media-left">
443
                                <img class="media-object" src="/static/img/pishirt2.svg" alt="">
okhin's avatar
okhin committed
444 445
                            </div>
                            <div class="media-body">
okhin's avatar
okhin committed
446
                                {{ _("Un pi-shirt") }} ({{@atailles[@GET['taille']]}})
okhin's avatar
okhin committed
447 448 449
                            </div>
                        </li>
                        </check>
okhin's avatar
okhin committed
450
                        <check if="{{ in_array(@GET['quoi'], array('hoodie')) }}">
okhin's avatar
okhin committed
451 452
                        <li class="media">
                            <div class="media-left">
453
                                <img class="media-object" src="/static/img/hoopie2.svg" alt="">
okhin's avatar
okhin committed
454 455
                            </div>
                            <div class="media-body">
okhin's avatar
okhin committed
456
                                {{ _("Un hoopie") }} ({{@atailles[@GET['taille_h']]}})
okhin's avatar
okhin committed
457 458 459 460
                            </div>
                        </li>
                        </check>
                    </ul>
461 462
                </div>
                <div class="form-group text-left">
Marne's avatar
Marne committed
463
                    <label for="commentaire"><h3>{{ _("Un commentaire&nbsp;? Si il y a un objet du pack que vous ne voulez pas indiquez-le nous :)") }}</h3></label>
464
                    <textarea class="form-control" id="commentaire" name="commentaire" placeholder="" row="3"></textarea>
okhin's avatar
okhin committed
465 466 467
                    <div class="modal-footer">
                        <input type="hidden" name="csrf" value="{{ @CSRF }}">
                        <repeat group="{{@GET}}" key="{{ @key }}" value="{{ @value }}">
468
                            <input type="hidden" name="{{ @key }}" value="{{ @value }}">
okhin's avatar
okhin committed
469 470 471 472
                        </repeat>
                        <a href="{{ 'perso' | alias }}" type="button" class="btn btn-default" data-dismiss="modal">Close</a>
                        <input type="submit" class="btn btn-primary" value="{{ _('Valider') }}">
                    </div>
okhin's avatar
90  
okhin committed
473 474
                </div>
            </div>
okhin's avatar
okhin committed
475 476
        </form>
    </div>
okhin's avatar
okhin committed
477
</check>