X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/4dd05e7d3aeab9542cd63f7fe056f446f3f3b70e..7b6ad329b55c67f72bd2008e83b5c092c437a8b5:/forum/settings/users.py diff --git a/forum/settings/users.py b/forum/settings/users.py index cceaf57..7bc58ec 100644 --- a/forum/settings/users.py +++ b/forum/settings/users.py @@ -6,6 +6,16 @@ from django.utils.translation import ugettext as _ USERS_SET = SettingSet('users', _('Users settings'), _("General settings for the OSQA users."), 20) +ALLOW_NEGATIVE_REPUTATION = Setting('ALLOW_NEGATIVE_REPUTATION', True, USERS_SET, dict( +label = _("Allow negative reputation"), +help_text = _("Check if you want to allow negative user reputations in the community."), +required=False)) + +STORE_GREETING_IN_COOKIE = Setting('STORE_GREETING_IN_COOKIE', True, USERS_SET, dict( +label = _("Store greeting in cookie"), +help_text = _("If you check this the greeting will be stored in a cookie and the users won't be notified on logout."), +required=False)) + EDITABLE_SCREEN_NAME = Setting('EDITABLE_SCREEN_NAME', False, USERS_SET, dict( label = _("Editable screen name"), help_text = _("Allow users to alter their screen name."),