Make sure the APP_ICON config is used in the template (#590)

This commit is contained in:
Jeremi Joslin 2016-06-09 16:45:03 -07:00 committed by Maxime Beauchemin
parent eb208b921c
commit f4c92da4e6
2 changed files with 2 additions and 3 deletions

View File

@ -53,7 +53,7 @@ SHOW_STACKTRACE = True
APP_NAME = "Caravel"
# Uncomment to setup Setup an App icon
# APP_ICON = "/static/img/something.png"
APP_ICON = "/static/assets/images/caravel_logo.png"
# Druid query timezone
# tz.tzutc() : Using utc timezone
@ -181,4 +181,3 @@ except ImportError:
if not CACHE_DEFAULT_TIMEOUT:
CACHE_DEFAULT_TIMEOUT = CACHE_CONFIG.get('CACHE_DEFAULT_TIMEOUT')

View File

@ -10,7 +10,7 @@
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" style="padding:7px;opacity:0.9;" href="{{appbuilder.get_url_for_index}}">
<img width="50" src="/static/assets/images/caravel_logo.png">
<img width="50" src="{{ appbuilder.app_icon }}">
</a>
<span class="navbar-brand">
{{ appbuilder.app_name }}