Added a feature flag for impala browse pages.

Set IMPALA_BROWSE = True to re-enable them on a given environment.
This commit is contained in:
Matt Claypotch 2011-07-15 23:59:08 -07:00
Родитель b44282325b
Коммит f3b03b2d5f
2 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -23,7 +23,7 @@
<!-- aww yeah -->
<section class="secondary">
{{ side_nav(amo.ADDON_EXTENSION, impala=True) }}
{{ side_nav(amo.ADDON_EXTENSION, impala=settings.IMPALA_BROWSE) }}
</section>
<section class="primary" id="homepage">

Просмотреть файл

@ -945,6 +945,7 @@ UNLINK_SITE_STATS = True
# Use the new featured add-ons system which makes use of featured collections.
NEW_FEATURES = False
IMPALA_BROWSE = False
# Set to True if we're allowed to use X-SENDFILE.
XSENDFILE = True