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

master
b3yond 2018-04-26 23:48:26 +02:00
parent db10139ae4
commit e78733cbc9
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;">