X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=myslice%2Ftheme.py;h=889bca2cb312ed1f97ec51f39438c6b153b79dfc;hb=679cd0a1550f31b85c1cd4ca384cb320b32875c8;hp=e16326b0d4f2b4b604818db7108ac6b251462302;hpb=cb3a40dfdc1c79ca57458d1c18732334d58734fd;p=unfold.git diff --git a/myslice/theme.py b/myslice/theme.py index e16326b0..889bca2c 100644 --- a/myslice/theme.py +++ b/myslice/theme.py @@ -9,7 +9,19 @@ class ThemeView (object): self.config = ConfigEngine() if self.config.myslice.theme : return self.config.myslice.theme - + + @property + def label(self): + self.config = ConfigEngine() + if self.config.myslice.theme_label : + return self.config.myslice.theme_label + + @property + def logo(self): + self.config = ConfigEngine() + if self.config.myslice.theme_logo : + return self.config.myslice.theme_logo + @property def template(self): # Load a template from the theme directory if it exists