]> git.openstreetmap.org Git - osqa.git/blob - forum/settings/view.py
1eb44b08a8639cf643304e5588c0b4e5df46e338
[osqa.git] / forum / settings / view.py
1 from base import Setting, SettingSet
2 from django.utils.translation import ugettext_lazy as _
3
4 """ view settings """
5 VIEW_SET = SettingSet('view', _('View settings'), _("Set up how certain parts of the site are displayed."), 20)
6
7 RECENT_TAGS_SIZE = Setting('RECENT_TAGS_SIZE', 25, VIEW_SET, dict(
8 label = _("Recent tags block size"),
9 help_text = _("The number of tags to display in the recent tags block in the front page.")))
10
11 RECENT_AWARD_SIZE = Setting('RECENT_AWARD_SIZE', 15, VIEW_SET, dict(
12 label = _("Recent awards block size"),
13 help_text = _("The number of awards to display in the recent awards block in the front page.")))
14
15 LIMIT_RELATED_TAGS = Setting('LIMIT_RELATED_TAGS', 0, VIEW_SET, dict(
16 label = _("Limit related tags block"),
17 help_text = _("Limit related tags block size in questions list pages. Set to 0 to display all all tags.")))