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",
|
||||
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",
|
||||
),
|
||||
),
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"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"
|
||||
"Last-Translator: Maréchal <thomas.girod@utbm.fr\n"
|
||||
"Language-Team: AE info <ae.info@utbm.fr>\n"
|
||||
@@ -1554,10 +1554,11 @@ msgstr "utilisateurs whitelistés"
|
||||
|
||||
#: core/models.py
|
||||
msgid ""
|
||||
"Even if this profile is hidden, the users in this list will still be able to see "
|
||||
"it."
|
||||
"Even if this profile is hidden, the users in this list will still be able to "
|
||||
"see it."
|
||||
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
|
||||
msgid "A user with that username already exists"
|
||||
@@ -1616,8 +1617,12 @@ msgid "show your stats to others"
|
||||
msgstr "montrez vos statistiques aux autres"
|
||||
|
||||
#: core/models.py
|
||||
msgid "Allow subscribers to access your AE account stats."
|
||||
msgstr "Autoriser les cotisants à accéder aux statistiques de votre compte AE"
|
||||
msgid ""
|
||||
"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
|
||||
msgid "get a notification for every click"
|
||||
|
||||
Reference in New Issue
Block a user