summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorMarian Sigler <m@qjym.de>2012-09-29 19:00:25 +0200
committerMarian Sigler <m@qjym.de>2012-09-29 19:00:25 +0200
commit227371dc4f01a1158484841146d5c73d4bcba275 (patch)
treef406f60205c193188976a2271991e8f227656310 /templates
parent6d95eb5b7146aad876fa3c0794d3e4b957a72496 (diff)
downloadweb-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.html4
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">&nbsp;</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">&nbsp;</span>
@@ -60,7 +60,7 @@
{% block content %}{% endblock %}
</section>
- {%- if javascript %}
+ {%- if self.javascript() %}
<script type="text/javascript">
{%- block javascript %}{% endblock -%}
</script>