diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-07-10 01:56:19 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2012-07-10 01:56:19 -0400 |
commit | 3fb3a1595418e677f60d5bc0275f9fd097e11788 (patch) | |
tree | 041453e41a65da74aa818656ac9393dfd91d1985 /askbot/const | |
parent | 7ef9039c0c08a12d28b568e6422e7dba05dfbd83 (diff) | |
download | askbot-3fb3a1595418e677f60d5bc0275f9fd097e11788.tar.gz askbot-3fb3a1595418e677f60d5bc0275f9fd097e11788.tar.bz2 askbot-3fb3a1595418e677f60d5bc0275f9fd097e11788.zip |
added "show only subscribed tags" choice to the main page
Diffstat (limited to 'askbot/const')
-rw-r--r-- | askbot/const/__init__.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/askbot/const/__init__.py b/askbot/const/__init__.py index 2633055f..32ceeaad 100644 --- a/askbot/const/__init__.py +++ b/askbot/const/__init__.py @@ -301,11 +301,17 @@ POST_STATUS = { INCLUDE_ALL = 0 EXCLUDE_IGNORED = 1 INCLUDE_INTERESTING = 2 -TAG_DISPLAY_FILTER_STRATEGY_CHOICES = ( +INCLUDE_SUBSCRIBED = 3 +TAG_DISPLAY_FILTER_STRATEGY_MINIMAL_CHOICES = ( (INCLUDE_ALL, _('show all tags')), (EXCLUDE_IGNORED, _('exclude ignored tags')), - (INCLUDE_INTERESTING, _('only interesting tags')), + (INCLUDE_INTERESTING, _('only interesting tags')) ) +TAG_DISPLAY_FILTER_STRATEGY_CHOICES = \ + TAG_DISPLAY_FILTER_STRATEGY_MINIMAL_CHOICES + \ + ((INCLUDE_SUBSCRIBED, _('only subscribed tags')),) + + TAG_EMAIL_FILTER_STRATEGY_CHOICES = ( (INCLUDE_ALL, _('email for all tags')), (EXCLUDE_IGNORED, _('exclude ignored tags')), |