Skip to content

Commit

Permalink
Change STAGE setting to SHOW_STAGE_NOTICE
Browse files Browse the repository at this point in the history
SHOW_STAGE_NOTICE is a little clearer in regards to what we're using
it for. Plus it's easier to explain documentation-wise.
  • Loading branch information
willkg committed Sep 13, 2012
1 parent 2412b65 commit 6407f74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions fjord/base/templates/base.html
Expand Up @@ -36,10 +36,10 @@ <h1 class="title"><a href="#">
</header>
{% endblock site_header %}

{% if settings.STAGE %}
{% if settings.SHOW_STAGE_NOTICE %}
<div class="stage-banner">
<div class="close-button">X</div>
This is the staging site. The production site is
This is a dev/staging site. The production site is
<a href="http://input.mozilla.org">here</a>.
</div>
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion fjord/settings/base.py
Expand Up @@ -131,7 +131,7 @@

# When set to True, this will cause a message to be displayed on all pages
# that this is not production.
STAGE = False
SHOW_STAGE_NOTICE = False

# ElasticSearch settings.

Expand Down

0 comments on commit 6407f74

Please sign in to comment.