git://git.onelab.eu
/
myslice.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
7d988b1c726fa1d80b2cf193228aec4073850bd0
[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