From 349b4abbf286ba1f461b3daccd55788035237280 Mon Sep 17 00:00:00 2001 From: Alice Date: Tue, 22 Oct 2019 22:04:50 +0200 Subject: [PATCH] use new content-box and flex-page on account/payment views --- locale/fr/LC_MESSAGES/django.po | 22 +++++++++++--------- templates/account_layout.html | 29 ++++++++++++++++++++------- templates/lambdainst/account.html | 2 +- templates/lambdainst/config.html | 2 +- templates/lambdainst/logs.html | 2 +- templates/lambdainst/settings.html | 2 +- templates/payments/cancel_subscr.html | 2 +- templates/payments/form.html | 2 +- templates/payments/list.html | 2 +- templates/payments/view.html | 4 ++-- 10 files changed, 44 insertions(+), 25 deletions(-) diff --git a/locale/fr/LC_MESSAGES/django.po b/locale/fr/LC_MESSAGES/django.po index 26dfce3..3312982 100644 --- a/locale/fr/LC_MESSAGES/django.po +++ b/locale/fr/LC_MESSAGES/django.po @@ -2,7 +2,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-10-22 19:16+0000\n" +"POT-Creation-Date: 2019-10-22 19:42+0000\n" "PO-Revision-Date: 2016-04-07 01:32+0000\n" "Last-Translator: \n" "Language-Team: \n" @@ -218,7 +218,7 @@ msgid "Awesome VPN! 3€ per month, with a free 7 days trial!" msgstr "" #: lambdainst/views.py:173 templates/account_layout.html:9 -#: templates/account_layout.html:11 templates/lambdainst/account.html:17 +#: templates/lambdainst/account.html:17 msgid "Account" msgstr "Compte" @@ -234,7 +234,7 @@ msgstr "Captcha invalide" msgid "Passwords do not match" msgstr "Les mots de passe ne correspondent pas" -#: lambdainst/views.py:251 templates/account_layout.html:13 +#: lambdainst/views.py:251 templates/account_layout.html:21 #: templates/lambdainst/settings.html:6 msgid "Settings" msgstr "Options" @@ -247,7 +247,7 @@ msgstr "Code inconnu ou déjà utilisé." msgid "Gift code only available to free accounts." msgstr "Code uniquement disponible pour les nouveaux comptes." -#: lambdainst/views.py:292 templates/account_layout.html:15 +#: lambdainst/views.py:292 templates/account_layout.html:29 #: templates/lambdainst/logs.html:6 msgid "Logs" msgstr "Logs" @@ -342,8 +342,8 @@ msgid "" "Waiting for CoinPayments to confirm the transaction... It can take up to a " "few minutes..." msgstr "" -"En attente de la confirmation par CoinPayments... Cette étape peut durer quelques " -"minutes..." +"En attente de la confirmation par CoinPayments... Cette étape peut durer " +"quelques minutes..." #: payments/backends/paypal.py:14 payments/backends/paypal.py:15 msgid "PayPal" @@ -421,11 +421,15 @@ msgstr "" "Impossible d'annuler le paiement récurrent. Il a peut-être été déjà annulé " "ou une erreur est survenue." -#: templates/account_layout.html:12 +#: templates/account_layout.html:13 +msgid "Overview" +msgstr "Vue d'ensemble" + +#: templates/account_layout.html:17 msgid "Config Download" msgstr "Configuration" -#: templates/account_layout.html:14 +#: templates/account_layout.html:25 templates/payments/list.html:6 msgid "Payments" msgstr "Paiements" @@ -739,7 +743,7 @@ msgstr "Activer" msgid "Your account is not paid." msgstr "Votre compte n'est pas payé." -#: templates/lambdainst/account.html:82 templates/payments/list.html:6 +#: templates/lambdainst/account.html:82 msgid "Subscription" msgstr "Abonnement" diff --git a/templates/account_layout.html b/templates/account_layout.html index 4d5ee8c..1ed3c80 100644 --- a/templates/account_layout.html +++ b/templates/account_layout.html @@ -4,18 +4,33 @@ {% load staticfiles %} {% block content %} -
+
-
+
{% block account_content %}{% endblock %}
diff --git a/templates/lambdainst/account.html b/templates/lambdainst/account.html index 12da6fb..fd7e4f1 100644 --- a/templates/lambdainst/account.html +++ b/templates/lambdainst/account.html @@ -14,7 +14,7 @@
{% endif %} -

{% trans 'Account' %} : {{user.username}}

+

{% trans 'Account' %} : {{user.username}}