analytics.js
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
## Customize your APP title, subtitle and menus here
|
||||
#########################################################################
|
||||
|
||||
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.subtitle = T('customize me!')
|
||||
@@ -26,11 +28,12 @@ response.menu = [
|
||||
(T('Home'), False, URL('default', 'index'), [])
|
||||
]
|
||||
|
||||
DEVELOPMENT_MENU = True
|
||||
|
||||
#########################################################################
|
||||
## provide shortcuts for development. remove in production
|
||||
#########################################################################
|
||||
|
||||
|
||||
def _():
|
||||
# shortcuts
|
||||
app = request.application
|
||||
@@ -133,4 +136,4 @@ def _():
|
||||
])
|
||||
]
|
||||
)]
|
||||
_()
|
||||
if DEVELOPMENT_MENU: _()
|
||||
|
||||
Reference in New Issue
Block a user