always show the show_my_stats input

This commit is contained in:
imperosol
2026-03-23 22:25:20 +01:00
parent 739a1bba47
commit 2a8e810ad0
4 changed files with 20 additions and 9 deletions

View File

@@ -27,7 +27,10 @@ class Migration(migrations.Migration):
name="show_my_stats",
field=models.BooleanField(
default=False,
help_text="Allow subscribers to access your AE account stats.",
help_text=(
"Allow subscribers (or whitelisted users "
"if your profile is hidden) to access your AE account stats."
),
verbose_name="show your stats to others",
),
),

View File

@@ -781,7 +781,10 @@ class Preferences(models.Model):
receive_weekmail = models.BooleanField(_("receive the Weekmail"), default=False)
show_my_stats = models.BooleanField(
_("show your stats to others"),
help_text=_("Allow subscribers to access your AE account stats."),
help_text=_(
"Allow subscribers (or whitelisted users "
"if your profile is hidden) to access your AE account stats."
),
default=False,
)
notify_on_click = models.BooleanField(

View File

@@ -21,7 +21,7 @@
<fieldset class="form-group" x-show="!isViewable">
{{ form.whitelisted_users.as_field_group() }}
</fieldset>
<fieldset class="form-group" x-show="isViewable">
<fieldset class="form-group">
{{ form.show_my_stats }}
{{ form.show_my_stats.label_tag() }}
<span class="helptext">