diff options
author | Marian Sigler <m@qjym.de> | 2012-09-29 19:00:25 +0200 |
---|---|---|
committer | Marian Sigler <m@qjym.de> | 2012-09-29 19:00:25 +0200 |
commit | 227371dc4f01a1158484841146d5c73d4bcba275 (patch) | |
tree | f406f60205c193188976a2271991e8f227656310 /templates | |
parent | 6d95eb5b7146aad876fa3c0794d3e4b957a72496 (diff) | |
download | web-227371dc4f01a1158484841146d5c73d4bcba275.tar.gz web-227371dc4f01a1158484841146d5c73d4bcba275.tar.bz2 web-227371dc4f01a1158484841146d5c73d4bcba275.zip |
fix the script block existence check
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/base.html b/templates/base.html index 1792410..4f2b22b 100644 --- a/templates/base.html +++ b/templates/base.html @@ -15,7 +15,7 @@ <div id="header-background"> </div> <header> - <h1><a href="{{ url_for('index') }}"> + <h1><a href="{{ url_for('settings') if g.user else url_for('index') }}"> <img src="{{ url_for('static', filename='logo.png') }}" alt="spline accounts" /> </a></h1> <span id="roundcornerb"> </span> @@ -60,7 +60,7 @@ {% block content %}{% endblock %} </section> - {%- if javascript %} + {%- if self.javascript() %} <script type="text/javascript"> {%- block javascript %}{% endblock -%} </script> |