summaryrefslogtreecommitdiffstats
path: root/askbot/const
diff options
context:
space:
mode:
authorNoahY <yuttadhammo@yahoo.com>2011-07-27 02:04:30 +0530
committerNoahY <yuttadhammo@yahoo.com>2011-07-27 02:04:30 +0530
commit183a2d20626dad6020a43a86e703a1e6557bf2d1 (patch)
tree829333ff6b85f8be293a68798e9566a16f72ac77 /askbot/const
parent624be8cd1837bf944d92a724d68c891f0bb19155 (diff)
downloadaskbot-183a2d20626dad6020a43a86e703a1e6557bf2d1.tar.gz
askbot-183a2d20626dad6020a43a86e703a1e6557bf2d1.tar.bz2
askbot-183a2d20626dad6020a43a86e703a1e6557bf2d1.zip
added setting to switch between tag cloud and tag list
Diffstat (limited to 'askbot/const')
-rw-r--r--askbot/const/__init__.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/askbot/const/__init__.py b/askbot/const/__init__.py
index e631fc18..18b4f4a3 100644
--- a/askbot/const/__init__.py
+++ b/askbot/const/__init__.py
@@ -58,6 +58,11 @@ POST_SCOPE_LIST = (
)
DEFAULT_POST_SCOPE = 'all'
+TAG_LIST_FORMAT_CHOICES = (
+ ('list', _('list')),
+ ('cloud', _('cloud')),
+)
+
PAGE_SIZE_CHOICES = (('10', '10',), ('30', '30',), ('50', '50',),)
ANSWERS_PAGE_SIZE = 10
#todo: remove this duplication