X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/931ef907b8e9aff303eefcdb85bc9cd95f381ffe..d08ce9161ea653d7c4b1b114fdaf28bc1d45daf9:/forum/settings/users.py?ds=sidebyside diff --git a/forum/settings/users.py b/forum/settings/users.py index 3d7a9f3..7bc58ec 100644 --- a/forum/settings/users.py +++ b/forum/settings/users.py @@ -6,6 +6,11 @@ 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."),