qweboobcfg: display website of backend in description in any
This commit is contained in:
parent
693123a702
commit
31445de767
3 changed files with 9 additions and 2 deletions
|
|
@ -67,6 +67,13 @@ class Backend(object):
|
|||
def config(self):
|
||||
return self.klass.CONFIG
|
||||
|
||||
@property
|
||||
def website(self):
|
||||
if self.klass.BROWSER and self.klass.BROWSER.DOMAIN:
|
||||
return '%s://%s' % (self.klass.BROWSER.PROTOCOL, self.klass.BROWSER.DOMAIN)
|
||||
else:
|
||||
return None
|
||||
|
||||
@property
|
||||
def icon_path(self):
|
||||
if self.klass.ICON is None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue