displaying city or other titles on various pages. still ugly.
This commit is contained in:
parent
62eb588b28
commit
5ec4d1aab0
|
@ -80,7 +80,7 @@ def login_post():
|
||||||
@view('template/user-facing.tpl')
|
@view('template/user-facing.tpl')
|
||||||
def city_page(city):
|
def city_page(city):
|
||||||
# :todo how can we transfer the city name to the wrapper template?
|
# :todo how can we transfer the city name to the wrapper template?
|
||||||
pass
|
return dict(title=city)
|
||||||
|
|
||||||
|
|
||||||
@get('/settings')
|
@get('/settings')
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
<body>
|
<body>
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<a href="/"><img src="/static/img/ticketfrei_logo.png" alt="<h1>Ticketfrei</h1>" id="logo"></a>
|
<a href="/"><img src="/static/img/ticketfrei_logo.png" alt="<h1>Ticketfrei</h1>" id="logo"></a>
|
||||||
|
{{get('title', '')}}
|
||||||
% if defined('error'):
|
% if defined('error'):
|
||||||
<div class="ui-widget">
|
<div class="ui-widget">
|
||||||
<div class="ui-state-error ui-corner-all" style="padding: 0.7em;">
|
<div class="ui-state-error ui-corner-all" style="padding: 0.7em;">
|
||||||
|
|
Loading…
Reference in a new issue