This commit is contained in:
codl 2017-08-07 15:40:31 +02:00
parent 7d4e9945a5
commit 625dc31a53
No known key found for this signature in database
GPG Key ID: 6CD7C8891ED1233A
2 changed files with 3 additions and 2 deletions

View File

@ -31,7 +31,8 @@ def touch_viewer(resp):
@app.route('/')
def index():
if g.viewer:
return render_template('logged_in.html', scales=lib.interval_scales)
return render_template('logged_in.html', scales=lib.interval_scales,
error=request.args.get('error', None))
else:
return render_template('index.html')

View File

@ -4,7 +4,7 @@
{% if error %}
<section class=banners>
<div class="banner error">{{ error|safe }}</div>
<div class="banner error">{{ error }}</div>
</section>
{% endif %}