mirror of
https://github.com/ae-utbm/sith.git
synced 2026-03-24 20:45:04 +00:00
always show the show_my_stats input
This commit is contained in:
@@ -27,7 +27,10 @@ class Migration(migrations.Migration):
|
|||||||
name="show_my_stats",
|
name="show_my_stats",
|
||||||
field=models.BooleanField(
|
field=models.BooleanField(
|
||||||
default=False,
|
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",
|
verbose_name="show your stats to others",
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -781,7 +781,10 @@ class Preferences(models.Model):
|
|||||||
receive_weekmail = models.BooleanField(_("receive the Weekmail"), default=False)
|
receive_weekmail = models.BooleanField(_("receive the Weekmail"), default=False)
|
||||||
show_my_stats = models.BooleanField(
|
show_my_stats = models.BooleanField(
|
||||||
_("show your stats to others"),
|
_("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,
|
default=False,
|
||||||
)
|
)
|
||||||
notify_on_click = models.BooleanField(
|
notify_on_click = models.BooleanField(
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
<fieldset class="form-group" x-show="!isViewable">
|
<fieldset class="form-group" x-show="!isViewable">
|
||||||
{{ form.whitelisted_users.as_field_group() }}
|
{{ form.whitelisted_users.as_field_group() }}
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<fieldset class="form-group" x-show="isViewable">
|
<fieldset class="form-group">
|
||||||
{{ form.show_my_stats }}
|
{{ form.show_my_stats }}
|
||||||
{{ form.show_my_stats.label_tag() }}
|
{{ form.show_my_stats.label_tag() }}
|
||||||
<span class="helptext">
|
<span class="helptext">
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2026-03-14 23:09+0100\n"
|
"POT-Creation-Date: 2026-03-23 22:21+0100\n"
|
||||||
"PO-Revision-Date: 2016-07-18\n"
|
"PO-Revision-Date: 2016-07-18\n"
|
||||||
"Last-Translator: Maréchal <thomas.girod@utbm.fr\n"
|
"Last-Translator: Maréchal <thomas.girod@utbm.fr\n"
|
||||||
"Language-Team: AE info <ae.info@utbm.fr>\n"
|
"Language-Team: AE info <ae.info@utbm.fr>\n"
|
||||||
@@ -1554,10 +1554,11 @@ msgstr "utilisateurs whitelistés"
|
|||||||
|
|
||||||
#: core/models.py
|
#: core/models.py
|
||||||
msgid ""
|
msgid ""
|
||||||
"Even if this profile is hidden, the users in this list will still be able to see "
|
"Even if this profile is hidden, the users in this list will still be able to "
|
||||||
"it."
|
"see it."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Même si ce profil est caché, les utilisateurs sur cette liste pourront toujours le voir."
|
"Même si ce profil est caché, les utilisateurs sur cette liste pourront "
|
||||||
|
"toujours le voir."
|
||||||
|
|
||||||
#: core/models.py
|
#: core/models.py
|
||||||
msgid "A user with that username already exists"
|
msgid "A user with that username already exists"
|
||||||
@@ -1616,8 +1617,12 @@ msgid "show your stats to others"
|
|||||||
msgstr "montrez vos statistiques aux autres"
|
msgstr "montrez vos statistiques aux autres"
|
||||||
|
|
||||||
#: core/models.py
|
#: core/models.py
|
||||||
msgid "Allow subscribers to access your AE account stats."
|
msgid ""
|
||||||
msgstr "Autoriser les cotisants à accéder aux statistiques de votre compte AE"
|
"Allow subscribers (or whitelisted users if your profile is hidden) to access "
|
||||||
|
"your AE account stats."
|
||||||
|
msgstr ""
|
||||||
|
"Autorise les cotisants (ou les personnes whitelistées, si votre profil est "
|
||||||
|
"caché) à accéder aux statistiques de votre compte AE"
|
||||||
|
|
||||||
#: core/models.py
|
#: core/models.py
|
||||||
msgid "get a notification for every click"
|
msgid "get a notification for every click"
|
||||||
|
|||||||
Reference in New Issue
Block a user