X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=myslice%2Ftheme.py;h=889bca2cb312ed1f97ec51f39438c6b153b79dfc;hb=0300e4a519eb44fa1e2b769f1c871471ebfe0620;hp=e16326b0d4f2b4b604818db7108ac6b251462302;hpb=c5ce008763e2e921336b22c390b0077b339a1bfe;p=myslice.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