authenticators: clarify button description attribute (#72295)
This commit is contained in:
parent
e065f40466
commit
cd2a644f94
|
@ -15,9 +15,9 @@ class Migration(migrations.Migration):
|
|||
name='button_description',
|
||||
field=models.CharField(
|
||||
blank=True,
|
||||
help_text='Description will be shown on login page above login button (unless already set by theme).',
|
||||
help_text='Description will be shown at the top of login block (unless already set by theme).',
|
||||
max_length=256,
|
||||
verbose_name='Login button description',
|
||||
verbose_name='Login block description',
|
||||
),
|
||||
),
|
||||
migrations.AddField(
|
||||
|
|
|
@ -71,12 +71,10 @@ class BaseAuthenticator(models.Model):
|
|||
validators=[condition_validator],
|
||||
)
|
||||
button_description = models.CharField(
|
||||
_('Login button description'),
|
||||
_('Login block description'),
|
||||
max_length=256,
|
||||
blank=True,
|
||||
help_text=_(
|
||||
'Description will be shown on login page above login button (unless already set by theme).'
|
||||
),
|
||||
help_text=_('Description will be shown at the top of login block (unless already set by theme).'),
|
||||
)
|
||||
button_label = models.CharField(_('Login button label'), max_length=64, default=_('Login'))
|
||||
|
||||
|
|
Loading…
Reference in New Issue