Skip to content

Commit

Permalink
move staging alert out of nav (#995)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alanna Scott authored Aug 23, 2016
1 parent 2bc1674 commit ef118de
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions caravel/templates/appbuilder/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,6 @@
{% include 'appbuilder/navbar_menu.html' %}
</ul>
<ul class="nav navbar-nav navbar-right">
{% set WARNING_MSG = appbuilder.app.config.get('WARNING_MSG') %}
{% if WARNING_MSG %}
<li>
<div class="alert alert-danger" role="alert">
{{ WARNING_MSG | safe }}
</div>
</li>
{% endif %}
<li><a href="https://github.com/airbnb/caravel" title="Caravel's Github">
<i class="fa fa-github fa-lg"></i></a>
</li>
Expand All @@ -37,3 +29,12 @@
</div>
</div>
</div>

{% set WARNING_MSG = appbuilder.app.config.get('WARNING_MSG') %}
{% if WARNING_MSG %}
<div class="container">
<div class="alert alert-danger">
{{ WARNING_MSG | safe }}
</div>
</div>
{% endif %}

0 comments on commit ef118de

Please sign in to comment.