Commit 634da58c authored by Jean Michel Rouly's avatar Jean Michel Rouly
Browse files

Give brANDING a default value.

parent 6e0db043
......@@ -5,4 +5,5 @@ def branding( request ):
'page_title_prefix' : settings.PAGE_TITLE_PREFIX,
'organization' : settings.ORGANIZATION,
'organization_url' : settings.ORGANIZATION_URL,
'branding' : settings.BRANDING,
}
......@@ -167,3 +167,4 @@ DICTIONARY_NOUNS = (os.path.join(STATIC_ROOT, config.DICTIONARY_NOUNS))
PAGE_TITLE_PREFIX = config.PAGE_TITLE_PREFIX
ORGANIZATION = config.ORGANIZATION
ORGANIZATION_URL = config.ORGANIZATION_URL
BRANDING = config.BRANDING
......@@ -2,7 +2,13 @@
<div class="container">
<div class="navbar-header">
<a href="/" class="navbar-brand">
<strong>Research Questions</strong>
<em>
{% if branding %}
{{ branding }}
{% else %}
Research Questions
{% endif %}
</em>
</a>
<button class="navbar-toggle" type="button" data-toggle="collapse"
data-target="#navbar-main">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment