-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
196 additions
and
49 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{% load tibitags %} | ||
{% load i18n %} | ||
{% load static %} | ||
|
||
{% for card in cards %} | ||
<div class="card card-background card-background-mask-dark align-items-start mt-4 w-75 mx-auto"> | ||
<div class="full-background cursor-pointer" | ||
style="background-image: url({{ card.origin.img | randCardImg }})"></div> | ||
<div class="card-body"> | ||
<h6 class="text-white mb-0">Number : {{ card.number_printed }}</h6> | ||
<p class="text-white">Origin : {{ card.origin.place.name }}</p> | ||
<p class="text-white">Génération : {{ card.origin.generation }}</p> | ||
</div> | ||
</div> | ||
<h5 class="mx-auto mt-2">{% translate "If you've lost your card, please report it. Your account will not be deleted, and you will keep your tokens and memberships. You can request and scan a new blank card at the front desk of your favorite venue :)" %}</h5> | ||
<button type="submit" class="btn bg-gradient-danger btn-lg mt-2 p-4 mb-2 w-75 mx-auto" | ||
role="button" | ||
aria-label="valider formulaire adhésion" | ||
hx-get="/my_account/{{ card.number_printed }}/lost_my_card/" | ||
hx-indicator="#tibillet-spinner"> | ||
{% translate "I LOST MY CARD NUMBER" %} {{ card.number_printed }} | ||
</button> | ||
{% endfor %} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-06-09 20:13+0000\n" | ||
"POT-Creation-Date: 2024-06-11 13:03+0000\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
@@ -865,12 +865,12 @@ msgid "Réservation validée" | |
msgstr "" | ||
|
||
#: BaseBillet/templates/htmx/fragments/my_account_membership.html:4 | ||
#: BaseBillet/templates/htmx/fragments/my_account_wallet.html:14 | ||
#: BaseBillet/templates/htmx/fragments/my_account_wallet.html:18 | ||
msgid "Loading tokens" | ||
msgstr "" | ||
|
||
#: BaseBillet/templates/htmx/fragments/my_account_profil.html:3 | ||
msgid "My profil" | ||
msgid "My account" | ||
msgstr "" | ||
|
||
#: BaseBillet/templates/htmx/fragments/my_account_profil.html:5 | ||
|
@@ -881,15 +881,19 @@ msgstr "" | |
msgid "Resend validation email" | ||
msgstr "" | ||
|
||
#: BaseBillet/templates/htmx/fragments/my_account_profil.html:16 | ||
msgid "My card" | ||
#: BaseBillet/templates/htmx/fragments/my_account_profil.html:14 | ||
msgid "email verified" | ||
msgstr "" | ||
|
||
#: BaseBillet/templates/htmx/fragments/my_account_wallet.html:9 | ||
#: BaseBillet/templates/htmx/fragments/my_account_profil.html:17 | ||
msgid "Loading NFC Card info" | ||
msgstr "" | ||
|
||
#: BaseBillet/templates/htmx/fragments/my_account_wallet.html:12 | ||
msgid "Refill my wallet" | ||
msgstr "" | ||
|
||
#: BaseBillet/templates/htmx/fragments/my_account_wallet.html:30 | ||
#: BaseBillet/templates/htmx/fragments/my_account_wallet.html:35 | ||
msgid "Show the last transactions" | ||
msgstr "" | ||
|
||
|
@@ -946,11 +950,11 @@ msgstr "" | |
msgid "Terms and Conditions" | ||
msgstr "" | ||
|
||
#: BaseBillet/templates/htmx/views/inscription.html:77 | ||
#: BaseBillet/templates/htmx/views/inscription.html:78 | ||
msgid "Sign up" | ||
msgstr "" | ||
|
||
#: BaseBillet/templates/htmx/views/inscription.html:83 | ||
#: BaseBillet/templates/htmx/views/inscription.html:84 | ||
msgid "" | ||
"Learn more about TiBillet, a free and privacy-friendly software for " | ||
"cooperatives networks :" | ||
|
@@ -991,22 +995,50 @@ msgid "" | |
"compte. Vous trouverez la facture en pièce jointe." | ||
msgstr "" | ||
|
||
#: BaseBillet/views.py:201 BaseBillet/views.py:254 | ||
#: BaseBillet/views.py:132 | ||
msgid "" | ||
"To access your space, please validate\n" | ||
"your email address. Don't forget to check your spam!" | ||
msgstr "" | ||
|
||
#: BaseBillet/views.py:191 BaseBillet/views.py:244 | ||
msgid "" | ||
"Merci de valider votre email pour acceder à toute les fonctionnalitées de " | ||
"votre espace profil." | ||
"Please validate your email to access all the features of your profile area." | ||
msgstr "" | ||
|
||
#: BaseBillet/views.py:227 | ||
#: BaseBillet/views.py:217 | ||
msgid "" | ||
"Vous semblez déja posséder une carte TiBillet en lien avec votre " | ||
"portefeuille. Merci de la révoquer d'abord dans votre espace profil." | ||
"You seem to already have a TiBillet card linked to your wallet. Please " | ||
"revoke it first in your profile area to link a new one." | ||
msgstr "" | ||
|
||
#: BaseBillet/views.py:232 | ||
#: BaseBillet/views.py:222 | ||
msgid "Not valid" | ||
msgstr "" | ||
|
||
#: BaseBillet/views.py:363 | ||
msgid "Refilled wallet" | ||
msgstr "" | ||
|
||
#: BaseBillet/views.py:365 | ||
msgid "Payment verification error" | ||
msgstr "" | ||
|
||
#: BaseBillet/views.py:473 | ||
#, python-brace-format | ||
msgid "" | ||
"Your subscription has been validated. You will receive a confirmation email " | ||
"at {email}. Thank you very much!" | ||
msgstr "" | ||
|
||
#: BaseBillet/views.py:475 | ||
msgid "Your payment is awaiting validation." | ||
msgstr "" | ||
|
||
#: BaseBillet/views.py:478 | ||
msgid "An error has occurred, please contact the administrator." | ||
msgstr "" | ||
|
||
#: Customers/models.py:18 MetaBillet/models.py:165 | ||
msgid "Artiste" | ||
msgstr "" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ msgid "" | |
msgstr "" | ||
"Project-Id-Version: PACKAGE VERSION\n" | ||
"Report-Msgid-Bugs-To: \n" | ||
"POT-Creation-Date: 2024-06-09 20:13+0000\n" | ||
"POT-Creation-Date: 2024-06-11 13:03+0000\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
@@ -865,12 +865,12 @@ msgid "Réservation validée" | |
msgstr "" | ||
|
||
#: BaseBillet/templates/htmx/fragments/my_account_membership.html:4 | ||
#: BaseBillet/templates/htmx/fragments/my_account_wallet.html:14 | ||
#: BaseBillet/templates/htmx/fragments/my_account_wallet.html:18 | ||
msgid "Loading tokens" | ||
msgstr "" | ||
|
||
#: BaseBillet/templates/htmx/fragments/my_account_profil.html:3 | ||
msgid "My profil" | ||
msgid "My account" | ||
msgstr "" | ||
|
||
#: BaseBillet/templates/htmx/fragments/my_account_profil.html:5 | ||
|
@@ -881,15 +881,19 @@ msgstr "" | |
msgid "Resend validation email" | ||
msgstr "" | ||
|
||
#: BaseBillet/templates/htmx/fragments/my_account_profil.html:16 | ||
msgid "My card" | ||
#: BaseBillet/templates/htmx/fragments/my_account_profil.html:14 | ||
msgid "email verified" | ||
msgstr "" | ||
|
||
#: BaseBillet/templates/htmx/fragments/my_account_wallet.html:9 | ||
#: BaseBillet/templates/htmx/fragments/my_account_profil.html:17 | ||
msgid "Loading NFC Card info" | ||
msgstr "" | ||
|
||
#: BaseBillet/templates/htmx/fragments/my_account_wallet.html:12 | ||
msgid "Refill my wallet" | ||
msgstr "" | ||
|
||
#: BaseBillet/templates/htmx/fragments/my_account_wallet.html:30 | ||
#: BaseBillet/templates/htmx/fragments/my_account_wallet.html:35 | ||
msgid "Show the last transactions" | ||
msgstr "" | ||
|
||
|
@@ -946,11 +950,11 @@ msgstr "J'accepte les" | |
msgid "Terms and Conditions" | ||
msgstr "CGU/CGV" | ||
|
||
#: BaseBillet/templates/htmx/views/inscription.html:77 | ||
#: BaseBillet/templates/htmx/views/inscription.html:78 | ||
msgid "Sign up" | ||
msgstr "S'enregistrer" | ||
|
||
#: BaseBillet/templates/htmx/views/inscription.html:83 | ||
#: BaseBillet/templates/htmx/views/inscription.html:84 | ||
msgid "" | ||
"Learn more about TiBillet, a free and privacy-friendly software for " | ||
"cooperatives networks :" | ||
|
@@ -993,22 +997,50 @@ msgid "" | |
"compte. Vous trouverez la facture en pièce jointe." | ||
msgstr "" | ||
|
||
#: BaseBillet/views.py:201 BaseBillet/views.py:254 | ||
#: BaseBillet/views.py:132 | ||
msgid "" | ||
"To access your space, please validate\n" | ||
"your email address. Don't forget to check your spam!" | ||
msgstr "" | ||
|
||
#: BaseBillet/views.py:191 BaseBillet/views.py:244 | ||
msgid "" | ||
"Merci de valider votre email pour acceder à toute les fonctionnalitées de " | ||
"votre espace profil." | ||
"Please validate your email to access all the features of your profile area." | ||
msgstr "" | ||
|
||
#: BaseBillet/views.py:227 | ||
#: BaseBillet/views.py:217 | ||
msgid "" | ||
"Vous semblez déja posséder une carte TiBillet en lien avec votre " | ||
"portefeuille. Merci de la révoquer d'abord dans votre espace profil." | ||
"You seem to already have a TiBillet card linked to your wallet. Please " | ||
"revoke it first in your profile area to link a new one." | ||
msgstr "" | ||
|
||
#: BaseBillet/views.py:232 | ||
#: BaseBillet/views.py:222 | ||
msgid "Not valid" | ||
msgstr "" | ||
|
||
#: BaseBillet/views.py:363 | ||
msgid "Refilled wallet" | ||
msgstr "" | ||
|
||
#: BaseBillet/views.py:365 | ||
msgid "Payment verification error" | ||
msgstr "" | ||
|
||
#: BaseBillet/views.py:473 | ||
#, python-brace-format | ||
msgid "" | ||
"Your subscription has been validated. You will receive a confirmation email " | ||
"at {email}. Thank you very much!" | ||
msgstr "" | ||
|
||
#: BaseBillet/views.py:475 | ||
msgid "Your payment is awaiting validation." | ||
msgstr "" | ||
|
||
#: BaseBillet/views.py:478 | ||
msgid "An error has occurred, please contact the administrator." | ||
msgstr "" | ||
|
||
#: Customers/models.py:18 MetaBillet/models.py:165 | ||
msgid "Artiste" | ||
msgstr "" | ||
|