define default headTitle in BaseView
This commit is contained in:
parent
acef9b683e
commit
689bd983bc
1 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
# Copyright (c) 2013 Helmut Merz helmutm@cy55.de
|
||||
# Copyright (c) 2016 Helmut Merz helmutm@cy55.de
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
|
@ -86,6 +86,10 @@ class BaseView(object):
|
|||
def title(self):
|
||||
return self.context.title
|
||||
|
||||
@Lazy
|
||||
def headTitle(self):
|
||||
return self.title
|
||||
|
||||
@Lazy
|
||||
def description(self):
|
||||
return self.context.description
|
||||
|
|
Loading…
Add table
Reference in a new issue