3
0
Fork 0
mirror of https://github.com/nanoy42/coope synced 2024-12-25 16:33:47 +00:00

Merge branch 'words' into dev

Close #12
This commit is contained in:
Yoann Pétri 2018-12-23 21:57:28 +01:00
commit 613c2b8348
4 changed files with 16 additions and 16 deletions

View file

@ -133,7 +133,7 @@
{% if not panini|divisibleby:4 %} {% if not panini|divisibleby:4 %}
</tr> </tr>
{% endif %} {% endif %}
<tr style="text-align:center; font-weight:bold;"><td colspan="4">Softs</td></tr> <tr style="text-align:center; font-weight:bold;"><td colspan="4">Boissons sans alcool</td></tr>
{% for product in soft %} {% for product in soft %}
{% if forloop.counter0|divisibleby:4 %} {% if forloop.counter0|divisibleby:4 %}
<tr style="text-align:center"> <tr style="text-align:center">
@ -147,7 +147,7 @@
</tr> </tr>
{% endif %} {% endif %}
<tr style="text-align:center; font-weight:bold;"><td colspan="4">Bouffe</td></tr> <tr style="text-align:center; font-weight:bold;"><td colspan="4">En-cas</td></tr>
{% for product in food %} {% for product in food %}
{% if forloop.counter0|divisibleby:4 %} {% if forloop.counter0|divisibleby:4 %}
<tr style="text-align:center"> <tr style="text-align:center">

View file

@ -1,7 +1,7 @@
{% load vip %} {% load vip %}
<section> <section>
<h2>A propos</h2> <h2>À propos</h2>
<p>L'association Coopé Technopole Metz est une association de droit local dont le siège social est établi à la résidence Edouard Branly. Son but est d'entretenir un lieu convivial sous la forme d'un bar associatif. Les membres actifs sont les coopemen (ou coopewomen).</p> <p>L'association Coopé Technopôle Metz (CTM) est une association de droit local dont le siège social est établi à la résidence Edouard Branly. Son but est d'entretenir un lieu convivial sous la forme d'un bar associatif. Les membres actifs sont les coopemen (ou coopewomen).</p>
</section> </section>
<section> <section>
<h2>Contacts</h2> <h2>Contacts</h2>

View file

@ -4,7 +4,7 @@
</span> </span>
{% if perms.gestion.add_consumptionhistory or perms.gestion.add_refund or perms.gestion.add_reload %} {% if perms.gestion.add_consumptionhistory or perms.gestion.add_refund or perms.gestion.add_reload %}
<span class="tabulation2"> <span class="tabulation2">
<a href="{% url 'gestion:manage' %}">Caisse</a> <a href="{% url 'gestion:manage' %}">Transactions</a>
</span> </span>
{% endif %} {% endif %}
{% if perms.auth.add_user or perms.auth.view_user or perms.auth.add_group or perms.auth.view_group or perms.users.add_school or perms.users.view_school %} {% if perms.auth.add_user or perms.auth.view_user or perms.auth.add_group or perms.auth.view_group or perms.users.add_school or perms.users.view_school %}

View file

@ -25,19 +25,19 @@
<ul class="alt" id="informationsClient"> <ul class="alt" id="informationsClient">
<li> <li>
<b>Nom : </b>{{user.last_name}}<span class="tabulation"> <b>Nom : </b>{{user.last_name}}<span class="tabulation">
<b>Prénom : </b>{{user.first_name}}</span><span class="tabulation"> <b>Prénom : </b>{{user.first_name}}</span><span class="tabulation">
<b>École : </b>{{user.profile.school}}</span> <b>École : </b>{{user.profile.school}}</span>
</li> </li>
<li><b>Pseudo : </b>{{user.username}}<span class="tabulation"> <li><b>Nom d'utilisateur : </b>{{user.username}}<span class="tabulation">
<b>Mail: </b> {{user.email}}</span> <b>Adresse mail: </b> {{user.email}}</span>
</li> </li>
<li> <li>
<b>Date inscription : </b>{{user.date_joined}}<span class="tabulation"> <b>Date inscription : </b>{{user.date_joined}}<span class="tabulation">
<b>Fin de cotisation: </b> {{user.profile.cotisationEnd|default:"Aucune cotisation"}}</span> <b>Fin de cotisation: </b> {{user.profile.cotisationEnd|default:"Aucune cotisation"}}</span>
</li> </li>
<li><b>Solde : </b>{{user.profile.balance}}<span class="tabulation"> <li><b>Solde : </b>{{user.profile.balance}}<span class="tabulation">
<b>Crédit : </b>{{user.profile.credit}}</span><span class="tabulation"> <b>Crédit : </b>{{user.profile.credit}}</span><span class="tabulation">
<b>Débit : </b>{{user.profile.debit}}</span> <b>Débit : </b>{{user.profile.debit}}</span>
</li> </li>
<li><b>Groupe(s) : </b>{{user.groups.all|join:", "}}</li> <li><b>Groupe(s) : </b>{{user.groups.all|join:", "}}</li>
<li> <li>
@ -151,7 +151,7 @@
<tr> <tr>
<td>{{c.product}}</td> <td>{{c.product}}</td>
<td>{{c.quantity}}</td> <td>{{c.quantity}}</td>
<td>{{c.amount}}</td> <td>{{c.amount}}</td>
<td>{{c.paymentMethod}}</td> <td>{{c.paymentMethod}}</td>
<td>{{c.date}}</td> <td>{{c.date}}</td>
<td>{% if perms.gestion.delete_consumptionhistory %}<a href="{% url 'gestion:cancelConsumption' c.pk %}" class="button small">Annuler</a>{% endif %}</td> <td>{% if perms.gestion.delete_consumptionhistory %}<a href="{% url 'gestion:cancelConsumption' c.pk %}" class="button small">Annuler</a>{% endif %}</td>
@ -185,7 +185,7 @@
<tr> <tr>
<td>{{m.menu}}</td> <td>{{m.menu}}</td>
<td>{{m.quantity}}</td> <td>{{m.quantity}}</td>
<td>{{m.amount}}</td> <td>{{m.amount}}</td>
<td>{{m.paymentMethod}}</td> <td>{{m.paymentMethod}}</td>
<td>{{m.date}}</td> <td>{{m.date}}</td>
<td>{% if perms.gestion.delete_menuhistory %}<a href="{% url 'gestion:cancelMenu' m.pk %}" class="button small">Annuler</a>{% endif %}</td> <td>{% if perms.gestion.delete_menuhistory %}<a href="{% url 'gestion:cancelMenu' m.pk %}" class="button small">Annuler</a>{% endif %}</td>
@ -214,7 +214,7 @@
<tbody> <tbody>
{% for reload in reloads %} {% for reload in reloads %}
<tr> <tr>
<td>{{reload.amount}}€</td> <td>{{reload.amount}} </td>
<td>{{reload.PaymentMethod}}</td> <td>{{reload.PaymentMethod}}</td>
<td>{{reload.date}}</td> <td>{{reload.date}}</td>
</tr> </tr>
@ -240,14 +240,14 @@
<th>Date de paiement</th> <th>Date de paiement</th>
<th>Moyen de paiement</th> <th>Moyen de paiement</th>
<th>Date de fin</th> <th>Date de fin</th>
<th>Etat</th> <th>État</th>
<th>Modération</th> <th>Modération</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
{% for cotisation in cotisations %} {% for cotisation in cotisations %}
<tr> <tr>
<td>{{cotisation.amount}}€</td> <td>{{cotisation.amount}} </td>
<td>{{cotisation.duration}} jours</td> <td>{{cotisation.duration}} jours</td>
<td>{{cotisation.paymentDate}}</td> <td>{{cotisation.paymentDate}}</td>
<td>{{cotisation.paymentMethod}}</td> <td>{{cotisation.paymentMethod}}</td>