Rédactionnel

This commit is contained in:
Colin Maudry
2026-07-06 10:49:08 +02:00
parent fb3292d41e
commit ad028b9e6b
4 changed files with 12 additions and 17 deletions
+7 -6
View File
@@ -98,8 +98,8 @@ def _subscribe_button(
[ [
dbc.Alert( dbc.Alert(
"Les fonctionnalités normalement accessibles contre un abonnement " "Les fonctionnalités normalement accessibles contre un abonnement "
"de 20 € HT par mois sont accessibles à tous et toutes en attendant " "mensuel sont accessibles à tous et toutes en attendant "
"la validation de mon dossier pour recevoir des paiements.", "la validation de mon dossier pour recevoir des paiements par carte bancaire.",
color="info", color="info",
), ),
html.A( html.A(
@@ -117,8 +117,9 @@ def _subscribe_button(
else: else:
label, href = "Je m'abonne", "/inscription" label, href = "Je m'abonne", "/inscription"
return html.Div( return html.Div(
html.A(label, href=href, className="btn btn-primary btn-lg"), html.A(label, href=href, className="btn btn-primary"),
className="text-center my-4", className="text-center my-4 btn-lg",
style={"width": "fit-content", "margin": "auto"},
) )
@@ -189,7 +190,7 @@ au bon fonctionnement du site et de la facturation.
**Données stockées par Frisbii :** **Données stockées par Frisbii :**
- Informations de facturation : prénom et nom (ou nom de l'entreprise), adresse postale, code postal, ville, pays, nom de l'entreprise (ou prénom et nom) - Informations de facturation : prénom et nom (et nom et SIRET de l'organisme si applicable), adresse postale, code postal, ville, pays
- Informations de paiement : coordonnées bancaires - Informations de paiement : coordonnées bancaires
- Historique des factures - Historique des factures
@@ -211,8 +212,8 @@ def layout(**_):
body = html.Div( body = html.Div(
[ [
_plan_cards(), _plan_cards(),
_explainer(),
_subscribe_button(authenticated, has_active, TOUS_ABONNES), _subscribe_button(authenticated, has_active, TOUS_ABONNES),
_explainer(),
subscription_terms, subscription_terms,
] ]
) )
+4 -10
View File
@@ -28,20 +28,14 @@ def _price_text(meta: dict) -> str | None:
return f"{ht} € HT / mois ({round(ht * 1.2, 2):g} € TTC)" return f"{ht} € HT / mois ({round(ht * 1.2, 2):g} € TTC)"
def _reabo_button(has_used_trial: bool): def _reabo_button():
label = "Me réabonner" if has_used_trial else "M'abonner"
return html.Div( return html.Div(
[ [
html.P( dcc.Markdown(
"Abonnez-vous pour accéder aux fonctionnalités réservées " "[Abonnez-vous](/a-propos/abonnement) pour accéder aux fonctionnalités réservées "
"aux abonné·es.", "aux abonné·es.",
className="mb-3", className="mb-3",
), ),
html.A(
label,
href="/a-propos/abonnement",
className="btn btn-primary",
),
], ],
className="mb-4", className="mb-4",
) )
@@ -274,7 +268,7 @@ def layout(**query):
"Votre abonnement a expiré.", color="warning", className="mb-4" "Votre abonnement a expiré.", color="warning", className="mb-4"
) )
) )
body.append(_reabo_button(db.has_used_trial(current_user.id))) body.append(_reabo_button())
body.append(_salaire_modal) body.append(_salaire_modal)
return account_shell("abonnement", html.Div(body)) return account_shell("abonnement", html.Div(body))
+1 -1
View File
@@ -252,7 +252,7 @@ def layout(**query):
className="mb-1", className="mb-1",
), ),
html.Div(id="inf-siret-msg", className="small mb-3"), html.Div(id="inf-siret-msg", className="small mb-3"),
dbc.Label("Nom de l'entreprise"), dbc.Label("Nom de l'organisme"),
dbc.Input( dbc.Input(
id="inf-entreprise", id="inf-entreprise",
name="company", name="company",
Binary file not shown.