better Expose

This commit is contained in:
mdipierro
2013-03-31 15:32:15 -05:00
parent 01d5302a2d
commit 4b0f6aff73
4 changed files with 42 additions and 16 deletions
+1 -2
View File
@@ -7,8 +7,7 @@
response.logo = A(B('web',SPAN(2),'py'),XML('™ '),
_class="brand",_href="http://www.web2py.com/")
response.title = ' '.join(
word.capitalize() for word in request.application.split('_'))
response.title = request.application.replace('_',' ').title()
response.subtitle = T('customize me!')
## read more at http://dev.w3.org/html5/markup/meta.name.html
+3 -1
View File
@@ -91,16 +91,18 @@
<div class="container">
<!-- Masthead ================================================== -->
{{if response.title:}}
<header class="mastheader row" id="header">
<div class="span12">
<div class="page-header">
<h1>
{{=response.title or request.application}}
{{=response.title}}
<small>{{=response.subtitle or ''}}</small>
</h1>
</div>
</div>
</header>
{{pass}}
<section id="main" class="main row">
{{if left_sidebar_enabled:}}