diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-01-29 01:40:18 -0300 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-01-29 01:40:18 -0300 |
commit | 1aafb83bf5cb6f2dbda685e97bcb7314a45e4ea9 (patch) | |
tree | 4b637ff525d6d3c15f774a8975ec43c4498985fc /askbot/conf | |
parent | ac66066a1112507185465a3aac88a1bdb578971f (diff) | |
download | askbot-1aafb83bf5cb6f2dbda685e97bcb7314a45e4ea9.tar.gz askbot-1aafb83bf5cb6f2dbda685e97bcb7314a45e4ea9.tar.bz2 askbot-1aafb83bf5cb6f2dbda685e97bcb7314a45e4ea9.zip |
moved question instructions above the ask form, added editable setting for the instructions
Diffstat (limited to 'askbot/conf')
-rw-r--r-- | askbot/conf/flatpages.py | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/askbot/conf/flatpages.py b/askbot/conf/flatpages.py index 164e1be4..7af6ae8a 100644 --- a/askbot/conf/flatpages.py +++ b/askbot/conf/flatpages.py @@ -8,7 +8,7 @@ from django.utils.translation import ugettext_lazy as _ FLATPAGES = ConfigurationGroup( 'FLATPAGES', - _('Flatpages - about, privacy policy, etc.'), + _('Messages and pages - about, privacy policy, etc.'), super_group = CONTENT_AND_UI ) @@ -38,6 +38,19 @@ settings.register( ) ) +settings.register( + LongStringValue( + FLATPAGES, + 'QUESTION_INSTRUCTIONS', + description=_('Instrutions on how to ask questions'), + help_text=\ + _( + 'HTML is allowed. Save, then <a href="http://validator.w3.org/">' + 'use HTML validator</a> on the "ask" page to check your input.' + ) + + ) +) settings.register( LongStringValue( @@ -59,6 +72,7 @@ settings.register(#this field is not editable manually 'CATEGORY_TREE', description = 'Category tree',#no need to translate default = '',#empty array of arrays in json + help_text=_('Do not edit this field manually!!!') #hidden = True ) ) |