Templating pages

This commit is contained in:
Skia 2016-07-22 02:05:29 +02:00
parent f04cf9d4d4
commit a0322fa931
8 changed files with 208 additions and 124 deletions

View File

@ -55,6 +55,7 @@ nav a:hover {
margin: 0px auto; margin: 0px auto;
padding: 1em 1%; padding: 1em 1%;
background: white; background: white;
overflow: auto;
} }
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
@ -129,6 +130,12 @@ tbody>tr:hover {
background: yellow; background: yellow;
width: 100%; width: 100%;
} }
.tool-bar {
overflow: auto;
}
.tools {
float: right;
}
#basket { #basket {
width: 40%; width: 40%;
background: lightgrey; background: lightgrey;

View File

@ -27,7 +27,8 @@
{% endblock %} {% endblock %}
<nav> <nav>
<a href="{{ url('core:user_list') }}">{% trans %}Users{% endtrans %}</a> <a href="{{ url('core:user_list') }}">{% trans %}Users{% endtrans %}</a>
<a href="{{ url('core:page', page_name="Index") }}">{% trans %}Pages{% endtrans %}</a> <a href="{{ url('core:page', page_name="Index") }}">{% trans %}Wiki{% endtrans %}</a>
<a href="{{ url('core:page_list') }}">{% trans %}Pages{% endtrans %}</a>
<a href="{{ url('club:club_list') }}">{% trans %}Clubs{% endtrans %}</a> <a href="{{ url('club:club_list') }}">{% trans %}Clubs{% endtrans %}</a>
</nav> </nav>

View File

@ -12,7 +12,32 @@
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% macro print_page_name(page) %}
{% if page %}
{{ print_page_name(page.parent) }} >
<a href="{{ url('core:page', page_name=page.get_full_name()) }}">{{ page.name }}</a>
{% endif %}
{% endmacro %}
{% block content %} {% block content %}
{{ print_page_name(page) }}
<div class="tool-bar">
<div class="tools">
{% if page %}
<a href="{{ url('core:page', page.get_full_name()) }}">{% trans %}View{% endtrans %}</a>
<a href="{{ url('core:page_hist', page_name=page.get_full_name()) }}">{% trans %}History{% endtrans %}</a>
{% if can_edit(page, user) %}
<a href="{{ url('core:page_edit', page_name=page.get_full_name()) }}">{% trans %}Edit{% endtrans %}</a>
{% endif %}
{% if can_edit_prop(page, user) %}
<a href="{{ url('core:page_prop', page_name=page.get_full_name()) }}">{% trans %}Prop{% endtrans %}</a>
{% endif %}
{% endif %}
</div>
</div>
<hr>
{% if page %} {% if page %}
{% block page %} {% block page %}
{% endblock %} {% endblock %}

View File

@ -1,25 +1,16 @@
{% extends "core/page.jinja" %} {% extends "core/page.jinja" %}
{% block page %} {% block page %}
<h3>{% trans %}Page{% endtrans %}</h3>
<p><a href="{{ url('core:page_list') }}">{% trans %}Back to list{% endtrans %}</a></p>
{% if can_edit(page, user) %}
<p><a href="{{ url('core:page_edit', page_name=page.get_full_name()) }}">{% trans %}Edit{% endtrans %}</a></p>
{% endif %}
{% if can_edit_prop(page, user) %}
<p><a href="{{ url('core:page_prop', page_name=page.get_full_name()) }}">{% trans %}Prop{% endtrans %}</a></p>
{% endif %}
<p>{% trans page_name=page.get_display_name() %}You're seeing the page {{ page_name }}{% endtrans %} -
<a href="{{ url('core:page_hist', page_name=page.get_full_name()) }}">{% trans %}History{% endtrans %}</a></p>
<hr>
{% if rev %} {% if rev %}
<h4>{% trans rev_id=rev.id %}This may not be the last update, you are seeing revision {{ rev_id }}!{% endtrans %}</h4> <h4>{% trans rev_id=rev.id %}This may not be the last update, you are seeing revision {{ rev_id }}!{% endtrans %}</h4>
<h3>{{ rev.title }}</h3> <h3>{{ rev.title }}</h3>
<div class="page_content">{{ rev.content|markdown }}</div> <div class="page_content">{{ rev.content|markdown }}</div>
{% else %} {% else %}
{% if page.revisions.last() %}
<h3>{{ page.revisions.last().title }}</h3> <h3>{{ page.revisions.last().title }}</h3>
<div class="page_content">{{ page.revisions.last().content|markdown }}</div> <div class="page_content">{{ page.revisions.last().content|markdown }}</div>
{% endif %} {% endif %}
{% endif %}
{% endblock %} {% endblock %}

View File

@ -2,14 +2,16 @@
{% block page %} {% block page %}
<h3>{% trans %}Page history{% endtrans %}</h3> <h3>{% trans %}Page history{% endtrans %}</h3>
<p><a href="{{ url('core:page', page.get_full_name()) }}">{% trans %}Back to page{% endtrans %}</a></p> <p>{% trans page_name=page.name %}You're seeing the history of page "{{ page_name }}"{% endtrans %}</p>
<p>{% trans page_name=page.get_display_name() %}You're seeing the history of page {{ page_name }}{% endtrans %}</p>
<ul> <ul>
{% for r in (page.revisions.all()|sort(attribute='date', reverse=True)) %}
{% if loop.index < 2 %}
<li><a href="{{ url('core:page', page_name=page.get_full_name()) }}"> <li><a href="{{ url('core:page', page_name=page.get_full_name()) }}">
last - {{ page.revisions.last().author }} - {{ page.revisions.last().date|date('Y-m-d H:i') }}</a></li> last - {{ page.revisions.last().author }} - {{ page.revisions.last().date|date('Y-m-d H:i') }}</a></li>
{% for r in (page.revisions.all()|sort(attribute='date', reverse=True))[1:] %} {% else %}
<li><a href="{{ url('core:page_rev', page_name=page.get_full_name(), rev=r['id']) }}"> <li><a href="{{ url('core:page_rev', page_name=page.get_full_name(), rev=r['id']) }}">
{{ r['author'] }} - {{ r['date']|date('Y-m-d H:i') }}</a></li> {{ r['author'] }} - {{ r['date']|date('Y-m-d H:i') }}</a></li>
{% endif %}
{% endfor %} {% endfor %}
</ul> </ul>
{% endblock %} {% endblock %}

View File

@ -1,22 +1,24 @@
{% extends "core/base.jinja" %} {% extends "core/base.jinja" %}
{% block content %} {% block content %}
<div>{{ profile.get_display_name() }}</div>
<div class="tool-bar"> <div class="tool-bar">
<a href="{{ url('core:user_profile', user_id=profile.id) }}">{% trans %}Infos{% endtrans %}</a> <div class="tools">
{% if can_edit(profile, request.user) or user.id == profile.id %} <a href="{{ url('core:user_profile', user_id=profile.id) }}">{% trans %}Infos{% endtrans %}</a>
<a href="{{ url('core:user_edit', user_id=profile.id) }}">{% trans %}Edit{% endtrans %}</a> {% if can_edit(profile, request.user) or user.id == profile.id %}
{% endif %} <a href="{{ url('core:user_edit', user_id=profile.id) }}">{% trans %}Edit{% endtrans %}</a>
{% if can_edit_prop(profile, request.user) %} {% endif %}
<a href="{{ url('core:user_groups', user_id=profile.id) }}">{% trans %}Groups{% endtrans %}</a> {% if can_edit_prop(profile, request.user) %}
{% endif %} <a href="{{ url('core:user_groups', user_id=profile.id) }}">{% trans %}Groups{% endtrans %}</a>
{% if (profile == request.user {% endif %}
or request.user.is_in_group(settings.SITH_GROUPS['accounting-admin']['name']) {% if (profile == request.user
or request.user.is_in_group(settings.SITH_GROUPS['root']['name'])) %} or request.user.is_in_group(settings.SITH_GROUPS['accounting-admin']['name'])
<a href="{{ url('core:user_account', user_id=profile.id) }}">{% trans %}Account{% endtrans %}</a> or request.user.is_in_group(settings.SITH_GROUPS['root']['name'])) %}
{% endif %} <a href="{{ url('core:user_account', user_id=profile.id) }}">{% trans %}Account{% endtrans %}</a>
<hr> {% endif %}
</div>
<h5>{{ profile.get_display_name() }}</h5>
</div> </div>
<hr>
<div> <div>
{% block infos %} {% block infos %}

Binary file not shown.

View File

@ -6,7 +6,7 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-07-21 17:39+0200\n" "POT-Creation-Date: 2016-07-22 01:47+0200\n"
"PO-Revision-Date: 2016-07-18\n" "PO-Revision-Date: 2016-07-18\n"
"Last-Translator: Skia <skia@libskia.so>\n" "Last-Translator: Skia <skia@libskia.so>\n"
"Language-Team: AE info <ae.info@utbm.fr>\n" "Language-Team: AE info <ae.info@utbm.fr>\n"
@ -17,8 +17,8 @@ msgstr ""
"Plural-Forms: nplurals=2; plural=(n > 1);\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: accounting/models.py:32 accounting/models.py:55 accounting/models.py:94 #: accounting/models.py:32 accounting/models.py:55 accounting/models.py:94
#: club/models.py:18 counter/models.py:39 counter/models.py:58 #: club/models.py:18 counter/models.py:38 counter/models.py:57
#: counter/models.py:80 #: counter/models.py:79
msgid "name" msgid "name"
msgstr "nom" msgstr "nom"
@ -30,11 +30,11 @@ msgstr "IBAN"
msgid "account number" msgid "account number"
msgstr "numero de compte" msgstr "numero de compte"
#: accounting/models.py:92 club/models.py:109 counter/models.py:215 #: accounting/models.py:92 club/models.py:109 counter/models.py:214
msgid "start date" msgid "start date"
msgstr "date de début" msgstr "date de début"
#: accounting/models.py:93 club/models.py:110 counter/models.py:216 #: accounting/models.py:93 club/models.py:110 counter/models.py:215
msgid "end date" msgid "end date"
msgstr "date de fin" msgstr "date de fin"
@ -42,8 +42,8 @@ msgstr "date de fin"
msgid "is closed" msgid "is closed"
msgstr "est fermé" msgstr "est fermé"
#: accounting/models.py:97 accounting/models.py:136 counter/models.py:22 #: accounting/models.py:97 accounting/models.py:136 counter/models.py:21
#: counter/models.py:163 #: counter/models.py:162
msgid "amount" msgid "amount"
msgstr "montant" msgstr "montant"
@ -55,8 +55,8 @@ msgstr "montant effectif"
msgid "number" msgid "number"
msgstr "numéro" msgstr "numéro"
#: accounting/models.py:137 core/models.py:462 counter/models.py:166 #: accounting/models.py:137 core/models.py:462 counter/models.py:165
#: counter/models.py:194 #: counter/models.py:193 eboutic/models.py:17 eboutic/models.py:30
msgid "date" msgid "date"
msgstr "date" msgstr "date"
@ -68,7 +68,8 @@ msgstr "intitulé"
msgid "remark" msgid "remark"
msgstr "remarque" msgstr "remarque"
#: accounting/models.py:140 counter/models.py:167 subscription/models.py:34 #: accounting/models.py:140 counter/models.py:166 eboutic/models.py:32
#: subscription/models.py:34
msgid "payment method" msgid "payment method"
msgstr "méthode de paiement" msgstr "méthode de paiement"
@ -89,7 +90,7 @@ msgstr ""
"La date ne peut pas être avant la date de début du journal, qui est\n" "La date ne peut pas être avant la date de début du journal, qui est\n"
"%(start_date)s." "%(start_date)s."
#: accounting/models.py:197 counter/models.py:61 #: accounting/models.py:197 counter/models.py:60
msgid "code" msgid "code"
msgstr "code" msgstr "code"
@ -143,8 +144,7 @@ msgstr "Nouveau compte club"
#: accounting/templates/accounting/bank_account_list.jinja:15 #: accounting/templates/accounting/bank_account_list.jinja:15
#: accounting/templates/accounting/club_account_details.jinja:44 #: accounting/templates/accounting/club_account_details.jinja:44
#: accounting/templates/accounting/journal_details.jinja:51 #: accounting/templates/accounting/journal_details.jinja:51
#: club/templates/club/club_detail.jinja:7 #: club/templates/club/club_detail.jinja:7 core/templates/core/page.jinja:30
#: core/templates/core/page_detail.jinja:7
#: core/templates/core/user_base.jinja:8 #: core/templates/core/user_base.jinja:8
#: core/templates/core/user_tools.jinja:30 #: core/templates/core/user_tools.jinja:30
#: counter/templates/counter/counter_list.jinja:14 #: counter/templates/counter/counter_list.jinja:14
@ -227,10 +227,12 @@ msgid "No"
msgstr "Non" msgstr "Non"
#: accounting/templates/accounting/club_account_details.jinja:43 #: accounting/templates/accounting/club_account_details.jinja:43
#: core/templates/core/page.jinja:27
msgid "View" msgid "View"
msgstr "Voir" msgstr "Voir"
#: accounting/templates/accounting/journal_details.jinja:10 #: accounting/templates/accounting/journal_details.jinja:10
#: counter/templates/counter/user_account.jinja:9
msgid "Amount: " msgid "Amount: "
msgstr "Montant: " msgstr "Montant: "
@ -302,7 +304,7 @@ msgstr "Adresse"
msgid "You can not make loops in clubs" msgid "You can not make loops in clubs"
msgstr "Vous ne pouvez pas faire de boucles dans les clubs" msgstr "Vous ne pouvez pas faire de boucles dans les clubs"
#: club/models.py:107 #: club/models.py:107 eboutic/models.py:16 eboutic/models.py:29
msgid "user" msgid "user"
msgstr "nom d'utilisateur" msgstr "nom d'utilisateur"
@ -314,8 +316,8 @@ msgstr "club"
msgid "role" msgid "role"
msgstr "rôle" msgstr "rôle"
#: club/models.py:113 core/models.py:27 counter/models.py:40 #: club/models.py:113 core/models.py:27 counter/models.py:39
#: counter/models.py:59 #: counter/models.py:58
msgid "description" msgid "description"
msgstr "description" msgstr "description"
@ -337,12 +339,10 @@ msgstr "Club"
#: club/templates/club/club_detail.jinja:5 #: club/templates/club/club_detail.jinja:5
#: core/templates/core/group_edit.jinja:4 #: core/templates/core/group_edit.jinja:4
#: core/templates/core/page_detail.jinja:5
msgid "Back to list" msgid "Back to list"
msgstr "Retour à la liste" msgstr "Retour à la liste"
#: club/templates/club/club_detail.jinja:10 #: club/templates/club/club_detail.jinja:10 core/templates/core/page.jinja:33
#: core/templates/core/page_detail.jinja:10
msgid "Prop" msgid "Prop"
msgstr "Propriétés" msgstr "Propriétés"
@ -574,7 +574,7 @@ msgid "Confirm"
msgstr "Confirmation" msgstr "Confirmation"
#: core/templates/core/delete_confirm.jinja:8 #: core/templates/core/delete_confirm.jinja:8
#: counter/templates/counter/counter_click.jinja:65 #: counter/templates/counter/counter_click.jinja:67
msgid "Cancel" msgid "Cancel"
msgstr "Annuler" msgstr "Annuler"
@ -624,7 +624,7 @@ msgid "Please login to see this page."
msgstr "Merci de vous identifier pour voir cette page." msgstr "Merci de vous identifier pour voir cette page."
#: core/templates/core/login.jinja:31 #: core/templates/core/login.jinja:31
#: counter/templates/counter/counter_main.jinja:51 #: counter/templates/counter/counter_main.jinja:52
msgid "login" msgid "login"
msgstr "login" msgstr "login"
@ -645,28 +645,19 @@ msgstr "Créer une page"
msgid "Not found" msgid "Not found"
msgstr "Non trouvé" msgstr "Non trouvé"
#: core/templates/core/page.jinja:20 #: core/templates/core/page.jinja:28
msgid "Page does not exist"
msgstr "La page n'existe pas."
#: core/templates/core/page.jinja:22
msgid "Create it?"
msgstr "La créer ?"
#: core/templates/core/page_detail.jinja:4
msgid "Page"
msgstr "Page"
#: core/templates/core/page_detail.jinja:12
#, python-format
msgid "You're seeing the page %(page_name)s"
msgstr "Vous consultez la page %(page_name)s"
#: core/templates/core/page_detail.jinja:13
msgid "History" msgid "History"
msgstr "Historique" msgstr "Historique"
#: core/templates/core/page_detail.jinja:16 #: core/templates/core/page.jinja:43
msgid "Page does not exist"
msgstr "La page n'existe pas."
#: core/templates/core/page.jinja:45
msgid "Create it?"
msgstr "La créer ?"
#: core/templates/core/page_detail.jinja:5
#, python-format #, python-format
msgid "This may not be the last update, you are seeing revision %(rev_id)s!" msgid "This may not be the last update, you are seeing revision %(rev_id)s!"
msgstr "" msgstr ""
@ -678,13 +669,8 @@ msgid "Page history"
msgstr "Historique de la page" msgstr "Historique de la page"
#: core/templates/core/page_hist.jinja:5 #: core/templates/core/page_hist.jinja:5
msgid "Back to page" msgid "You're seeing the history of page \"%(page_name)s\""
msgstr "Retour à la page" msgstr "Vous consultez l'historique de la page \"%(page_name)s\""
#: core/templates/core/page_hist.jinja:6
#, python-format
msgid "You're seeing the history of page %(page_name)s"
msgstr "Vous consultez l'historique de la page %(page_name)s"
#: core/templates/core/page_list.jinja:16 #: core/templates/core/page_list.jinja:16
msgid "There is no page in this website." msgid "There is no page in this website."
@ -883,51 +869,57 @@ msgstr "Comptabilité générale"
msgid "Club account: " msgid "Club account: "
msgstr "Compte club : " msgstr "Compte club : "
#: counter/models.py:21 #: counter/models.py:20
msgid "account id" msgid "account id"
msgstr "numéro de compte" msgstr "numéro de compte"
#: counter/models.py:25 #: counter/models.py:24
msgid "customer" msgid "customer"
msgstr "client" msgstr "client"
#: counter/models.py:26 #: counter/models.py:25
msgid "customers" msgid "customers"
msgstr "clients" msgstr "clients"
#: counter/models.py:62 #: counter/models.py:61
msgid "purchase price" msgid "purchase price"
msgstr "prix d'achat" msgstr "prix d'achat"
#: counter/models.py:63 #: counter/models.py:62
msgid "selling price" msgid "selling price"
msgstr "prix de vente" msgstr "prix de vente"
#: counter/models.py:64 #: counter/models.py:63
msgid "special selling price" msgid "special selling price"
msgstr "prix de vente spécial" msgstr "prix de vente spécial"
#: counter/models.py:83 subscription/models.py:29 #: counter/models.py:82 subscription/models.py:29
msgid "subscription type" msgid "subscription type"
msgstr "type d'inscription" msgstr "type d'inscription"
#: counter/models.py:85 #: counter/models.py:84
msgid "Bar" msgid "Bar"
msgstr "Bar" msgstr "Bar"
#: counter/models.py:85 #: counter/models.py:84
msgid "Office" msgid "Office"
msgstr "Bureau" msgstr "Bureau"
#: counter/models.py:169 #: counter/models.py:84 eboutic/templates/eboutic/eboutic_main.jinja:20
#: eboutic/templates/eboutic/eboutic_makecommand.jinja:4
#: eboutic/templates/eboutic/eboutic_payment_result.jinja:4
msgid "Eboutic"
msgstr "Eboutic"
#: counter/models.py:168
msgid "bank" msgid "bank"
msgstr "banque" msgstr "banque"
#: counter/models.py:190 #: counter/models.py:189 eboutic/models.py:55
msgid "unit price" msgid "unit price"
msgstr "prix unitaire" msgstr "prix unitaire"
#: counter/models.py:191 #: counter/models.py:190 eboutic/models.py:56
msgid "quantity" msgid "quantity"
msgstr "quantité" msgstr "quantité"
@ -945,38 +937,42 @@ msgstr "Club : "
msgid "Customer" msgid "Customer"
msgstr "Client" msgstr "Client"
#: counter/templates/counter/counter_click.jinja:29 #: counter/templates/counter/counter_click.jinja:30
msgid "Refilling" msgid "Refilling"
msgstr "Rechargement" msgstr "Rechargement"
#: counter/templates/counter/counter_click.jinja:34 #: counter/templates/counter/counter_click.jinja:35
#: counter/templates/counter/counter_click.jinja:46 #: counter/templates/counter/counter_click.jinja:48
msgid "Go" msgid "Go"
msgstr "Valider" msgstr "Valider"
#: counter/templates/counter/counter_click.jinja:38 #: counter/templates/counter/counter_click.jinja:40
msgid "Selling" msgid "Selling"
msgstr "Vente" msgstr "Vente"
#: counter/templates/counter/counter_click.jinja:40 #: counter/templates/counter/counter_click.jinja:42
msgid "Not enough money" msgid "Not enough money"
msgstr "Solde insuffisant" msgstr "Solde insuffisant"
#: counter/templates/counter/counter_click.jinja:48 #: counter/templates/counter/counter_click.jinja:50
#: eboutic/templates/eboutic/eboutic_main.jinja:23
#: eboutic/templates/eboutic/eboutic_makecommand.jinja:7
msgid "Basket: " msgid "Basket: "
msgstr "Panier : " msgstr "Panier : "
#: counter/templates/counter/counter_click.jinja:56 #: counter/templates/counter/counter_click.jinja:58
#: counter/templates/counter/counter_main.jinja:28 #: counter/templates/counter/counter_main.jinja:28
#: eboutic/templates/eboutic/eboutic_main.jinja:31
msgid "Total: " msgid "Total: "
msgstr "Total : " msgstr "Total : "
#: counter/templates/counter/counter_click.jinja:60 #: counter/templates/counter/counter_click.jinja:62
msgid "Finish" msgid "Finish"
msgstr "Terminer" msgstr "Terminer"
#: counter/templates/counter/counter_click.jinja:67 #: counter/templates/counter/counter_click.jinja:69
#: counter/templates/counter/counter_main.jinja:15 #: counter/templates/counter/counter_main.jinja:15
#: eboutic/templates/eboutic/eboutic_main.jinja:39
msgid "Products: " msgid "Products: "
msgstr "Produits : " msgstr "Produits : "
@ -1025,7 +1021,7 @@ msgstr "valider"
msgid "Please, login" msgid "Please, login"
msgstr "Merci de vous identifier" msgstr "Merci de vous identifier"
#: counter/templates/counter/counter_main.jinja:42 #: counter/templates/counter/counter_main.jinja:43
msgid "Barman: " msgid "Barman: "
msgstr "Barman : " msgstr "Barman : "
@ -1038,87 +1034,139 @@ msgstr "Compte de %(user_name)s"
msgid "User account" msgid "User account"
msgstr "Compte utilisateur" msgstr "Compte utilisateur"
#: counter/views.py:194 #: counter/views.py:200
msgid "END" msgid "END"
msgstr "FIN" msgstr "FIN"
#: counter/views.py:196 #: counter/views.py:202
msgid "CAN" msgid "CAN"
msgstr "ANN" msgstr "ANN"
#: sith/settings.py:227 sith/settings.py:234 sith/settings.py:246 #: counter/views.py:236
#: sith/settings_sample.py:227 sith/settings_sample.py:234 msgid "You have not enough money to buy all the basket"
#: sith/settings_sample.py:246 msgstr "Vous n'avez pas assez d'argent pour acheter le panier"
msgid "Check"
msgstr "Chèque" #: eboutic/models.py:31 sith/settings.py:231 sith/settings_sample.py:231
msgid "Credit card"
msgstr "Carte banquaire"
#: eboutic/models.py:31
msgid "Sith account"
msgstr "Compte utilisateur"
#: eboutic/models.py:33
msgid "validated"
msgstr "validé"
#: eboutic/models.py:44
msgid "Invoice already validated"
msgstr "Facture déjà validée"
#: eboutic/models.py:54
msgid "product name"
msgstr "nom du produit"
#: eboutic/models.py:65
msgid "basket"
msgstr "panier"
#: eboutic/models.py:68
msgid "invoice"
msgstr "facture"
#: eboutic/templates/eboutic/eboutic_main.jinja:35
msgid "Proceed to command"
msgstr "Procéder à la commande"
#: eboutic/templates/eboutic/eboutic_makecommand.jinja:29
msgid "Pay with credit card"
msgstr "Payer avec une carte banquaire"
#: eboutic/templates/eboutic/eboutic_makecommand.jinja:34
msgid "Pay with Sith account"
msgstr "Payer avec un compte AE"
#: eboutic/templates/eboutic/eboutic_payment_result.jinja:8
msgid "Payment failed"
msgstr "Méthode de paiement"
#: eboutic/templates/eboutic/eboutic_payment_result.jinja:10
msgid "Payment successful"
msgstr "Méthode de paiement"
#: eboutic/views.py:117
msgid "You have not enough money to buy the basket"
msgstr "Vous n'avez pas assez d'argent pour acheter le panier"
#: sith/settings.py:228 sith/settings.py:235 sith/settings.py:247 #: sith/settings.py:228 sith/settings.py:235 sith/settings.py:247
#: sith/settings_sample.py:228 sith/settings_sample.py:235 #: sith/settings_sample.py:228 sith/settings_sample.py:235
#: sith/settings_sample.py:247 #: sith/settings_sample.py:247
msgid "Check"
msgstr "Chèque"
#: sith/settings.py:229 sith/settings.py:236 sith/settings.py:248
#: sith/settings_sample.py:229 sith/settings_sample.py:236
#: sith/settings_sample.py:248
msgid "Cash" msgid "Cash"
msgstr "Espèces" msgstr "Espèces"
#: sith/settings.py:229 sith/settings_sample.py:229 #: sith/settings.py:230 sith/settings_sample.py:230
msgid "Transfert" msgid "Transfert"
msgstr "Virement" msgstr "Virement"
#: sith/settings.py:230 sith/settings_sample.py:230 #: sith/settings.py:237 sith/settings_sample.py:237
msgid "Credit card"
msgstr "Carte banquaire"
#: sith/settings.py:236 sith/settings_sample.py:236
msgid "Other" msgid "Other"
msgstr "Autre" msgstr "Autre"
#: sith/settings.py:260 sith/settings_sample.py:260 #: sith/settings.py:261 sith/settings_sample.py:261
msgid "One semester" msgid "One semester"
msgstr "Un semestre" msgstr "Un semestre"
#: sith/settings.py:265 sith/settings_sample.py:265 #: sith/settings.py:266 sith/settings_sample.py:266
msgid "Two semesters" msgid "Two semesters"
msgstr "Deux semestres" msgstr "Deux semestres"
#: sith/settings.py:270 sith/settings_sample.py:270 #: sith/settings.py:271 sith/settings_sample.py:271
msgid "Common core cursus" msgid "Common core cursus"
msgstr "Cursus tronc commun" msgstr "Cursus tronc commun"
#: sith/settings.py:275 sith/settings_sample.py:275 #: sith/settings.py:276 sith/settings_sample.py:276
msgid "Branch cursus" msgid "Branch cursus"
msgstr "Cursus branche" msgstr "Cursus branche"
#: sith/settings.py:283 sith/settings_sample.py:283 #: sith/settings.py:284 sith/settings_sample.py:284
msgid "President" msgid "President"
msgstr "Président" msgstr "Président"
#: sith/settings.py:284 sith/settings_sample.py:284 #: sith/settings.py:285 sith/settings_sample.py:285
msgid "Vice-President" msgid "Vice-President"
msgstr "Vice-Président" msgstr "Vice-Président"
#: sith/settings.py:285 sith/settings_sample.py:285 #: sith/settings.py:286 sith/settings_sample.py:286
msgid "Treasurer" msgid "Treasurer"
msgstr "Trésorier" msgstr "Trésorier"
#: sith/settings.py:286 sith/settings_sample.py:286 #: sith/settings.py:287 sith/settings_sample.py:287
msgid "Communication supervisor" msgid "Communication supervisor"
msgstr "Responsable com" msgstr "Responsable com"
#: sith/settings.py:287 sith/settings_sample.py:287 #: sith/settings.py:288 sith/settings_sample.py:288
msgid "Secretary" msgid "Secretary"
msgstr "Secrétaire" msgstr "Secrétaire"
#: sith/settings.py:288 sith/settings_sample.py:288 #: sith/settings.py:289 sith/settings_sample.py:289
msgid "IT supervisor" msgid "IT supervisor"
msgstr "Responsable info" msgstr "Responsable info"
#: sith/settings.py:289 sith/settings_sample.py:289 #: sith/settings.py:290 sith/settings_sample.py:290
msgid "Board member" msgid "Board member"
msgstr "Membre du bureau" msgstr "Membre du bureau"
#: sith/settings.py:290 sith/settings_sample.py:290 #: sith/settings.py:291 sith/settings_sample.py:291
msgid "Active member" msgid "Active member"
msgstr "Membre actif" msgstr "Membre actif"
#: sith/settings.py:291 sith/settings_sample.py:291 #: sith/settings.py:292 sith/settings_sample.py:292
msgid "Curious" msgid "Curious"
msgstr "Curieux" msgstr "Curieux"
@ -1155,3 +1203,11 @@ msgid "You must either choose an existing user or create a new one properly"
msgstr "" msgstr ""
"Vous devez soit choisir un utilisateur existant, ou en créer un proprement." "Vous devez soit choisir un utilisateur existant, ou en créer un proprement."
#~ msgid "Page"
#~ msgstr "Page"
#~ msgid "You're seeing the page %(page_name)s"
#~ msgstr "Vous consultez la page %(page_name)s"
#~ msgid "Back to page"
#~ msgstr "Retour à la page"