fix: tweak Nomination.share_nominator label text (#5775)

* fix: tweak Nomination.share_nominator label text

"Share nominator name with candidate" was confusing, because it's
imperative, where it's really intended to be permissive - it's okay to
share with the candidate.

* chore: add migration for label text
This commit is contained in:
Paul Selkirk 2023-06-08 14:47:46 -04:00 committed by GitHub
parent 59ced7f428
commit d2406d8420
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 1 deletions

View file

@ -0,0 +1,21 @@
# Generated by Django 4.2.2 on 2023-06-08 18:06
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("nomcom", "0002_add_uncheck_reminder"),
]
operations = [
migrations.AlterField(
model_name="nomination",
name="share_nominator",
field=models.BooleanField(
default=False,
help_text="Check this box to allow the NomCom to let the person you are nominating know that you were one of the people who nominated them. If you do not check this box, your name will be confidential and known only within NomCom.",
verbose_name="OK to share nominator's name with candidate",
),
),
]

View file

@ -130,7 +130,7 @@ class Nomination(models.Model):
nominator_email = models.EmailField(verbose_name='Nominator Email', blank=True)
user = ForeignKey(User, editable=False, null=True, on_delete=models.SET_NULL)
time = models.DateTimeField(auto_now_add=True)
share_nominator = models.BooleanField(verbose_name='Share nominator name with candidate', default=False,
share_nominator = models.BooleanField(verbose_name='OK to share nominator\'s name with candidate', default=False,
help_text='Check this box to allow the NomCom to let the '
'person you are nominating know that you were '
'one of the people who nominated them. If you '