Skip to content

Commit

Permalink
registration: change helptext wording
Browse files Browse the repository at this point in the history
  • Loading branch information
vellip authored and m4ra committed Jan 15, 2025
1 parent 4710e3a commit 063844a
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Generated by Django 4.2.11 on 2025-01-15 18:04

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("meinberlin_users", "0007_add_error_message_username_used_as_email"),
]

operations = [
migrations.AlterField(
model_name="user",
name="get_newsletters",
field=models.BooleanField(
default=False,
help_text="Yes, I would like to receive e-mail newsletters about the projects I am following. I can undo this at any time in my user account settings.",
verbose_name="Newsletter",
),
),
migrations.AlterField(
model_name="user",
name="get_notifications",
field=models.BooleanField(
default=True,
help_text="Yes, I would like to be notified by e-mail about the start and end of participation opportunities. This applies to all projects I follow. I also receive an e-mail when someone comments on one of my contributions. I can adapt notification in my user account settings. ",
verbose_name="Notifications",
),
),
]
14 changes: 8 additions & 6 deletions meinberlin/apps/users/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,19 +56,21 @@ class User(auth_models.AbstractBaseUser, auth_models.PermissionsMixin):
verbose_name=_("Notifications"),
default=True,
help_text=_(
"Yes, I would like to be notified by e-mail about the start "
"and end of participation opportunities. This applies to all "
"projects I follow. I also receive an e-mail when someone "
"comments on one of my contributions."
"Yes, I would like to be notified by e-mail about the start and "
"end of participation opportunities. This applies to all projects "
"I follow. I also receive an e-mail when someone comments on one "
"of my contributions. I can adapt notification in my user account "
"settings. "
),
)

get_newsletters = models.BooleanField(
verbose_name=_("Newsletter"),
default=False,
help_text=_(
"Yes, I would like to receive e-mail newsletters about "
"the projects I am following."
"Yes, I would like to receive e-mail newsletters about the projects "
"I am following. I can undo this at any time in my user "
"account settings."
),
)

Expand Down

0 comments on commit 063844a

Please sign in to comment.