X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/0f8b28050a75d2417ba7b43a36432fea36d248f7..722b81db3ddb2fbc301b3f804188130127168d78:/forum/settings/sidebar.py diff --git a/forum/settings/sidebar.py b/forum/settings/sidebar.py index ee75293..4e5ad39 100644 --- a/forum/settings/sidebar.py +++ b/forum/settings/sidebar.py @@ -11,11 +11,41 @@ label = _("Show the Welcome box"), help_text = _("Do you want to show the welcome box when a user first visits your site."), required=False)) +SHOW_INTERESTING_TAGS_BOX = Setting('SHOW_INTERESTING_TAGS_BOX', True, SIDEBAR_SET, dict( +label = _("Show interesting tags in the sidebar"), +help_text = _("Check this if you want to see the interesting tags container in the sidebar."), +required=False)) + APP_INTRO = Setting('APP_INTRO', u'

Ask and answer questions, make the world better!

', SIDEBAR_SET, dict( label = _("Application intro"), help_text = _("The introductory page that is visible in the sidebar for anonymous users."), widget=Textarea)) +QUESTION_TITLE_TIPS = Setting('QUESTION_TITLE_TIPS', +u""" + - **ask a question relevant to the |APP_TITLE| community** + - the title must be in the form of a question + - provide enough details + - be clear and concise +""" +, SIDEBAR_SET, dict( +label = "Question title tips", +help_text = "Tips visible on the ask or edit questions page about the question title.", +required=False, +widget=Textarea(attrs={'rows': '10'}))) + +QUESTION_TAG_TIPS = Setting('QUESTION_TAG_TIPS', +u""" + - Tags are words that will tell others what this question is about. + - They will help other find your question. + - A question can have up to |FORM_MAX_NUMBER_OF_TAGS| tags, but it must have at least |FORM_MIN_NUMBER_OF_TAGS|. +""" +, SIDEBAR_SET, dict( +label = "Tagging tips", +help_text = "Tips visible on the ask or edit questions page about good tagging.", +required=False, +widget=Textarea(attrs={'rows': '10'}))) + SIDEBAR_UPPER_SHOW = Setting('SIDEBAR_UPPER_SHOW', True, SIDEBAR_SET, dict( label = "Show Upper Block",