Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#8732] registration: change helptext wording #5947

Merged
merged 1 commit into from
Jan 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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