git://git.onelab.eu
/
myslice.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
added theme
[myslice.git]
/
portal
/
theme.py
1
from myslice.configengine import ConfigEngine
2
3
class ThemeView (object):
4
5
@property
6
def theme(self):
7
self.config = ConfigEngine()
8
if self.config.myslice.theme :
9
return self.config.myslice.theme
10
11
@property
12
def template(self):
13
return self.theme + '/' + self.template_name