displaying city or other titles on various pages. still ugly.

This commit is contained in:
b3yond 2018-04-26 23:48:26 +02:00
parent 62eb588b28
commit 5ec4d1aab0
2 changed files with 2 additions and 1 deletions

View file

@ -80,7 +80,7 @@ def login_post():
@view('template/user-facing.tpl')
def city_page(city):
# :todo how can we transfer the city name to the wrapper template?
pass
return dict(title=city)
@get('/settings')

View file

@ -13,6 +13,7 @@
<body>
<div id="content">
<a href="/"><img src="/static/img/ticketfrei_logo.png" alt="<h1>Ticketfrei</h1>" id="logo"></a>
{{get('title', '')}}
% if defined('error'):
<div class="ui-widget">
<div class="ui-state-error ui-corner-all" style="padding: 0.7em;">