mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Add services information to the domains configured in dynamicdns
Signed-off-by: Hemanth Kumar Veeranki <hemanthveeranki@gmail.com>
This commit is contained in:
1 parent
72208f440d
commit
217ef97a6f
2 files changed
+21
-2
No files matched your search
@@ -60,10 +60,12 @@ def init():
|
||||
menu.add_urlname(title, 'glyphicon-refresh', 'dynamicdns:index')
|
||||
current_status = dynamicdns.get_status()
|
||||
if current_status['enabled']:
|
||||
services = dynamicdns.get_enabled_services(current_status['dynamicdns_domain'])
|
||||
domain_added.send_robust(
|
||||
sender='dynamicdns', domain_type='dynamicdnsservice',
|
||||
name=current_status['dynamicdns_domain'],
|
||||
description=_('Dynamic DNS Service'))
|
||||
description=_('Dynamic DNS Service'),
|
||||
services=services)
|
||||
|
||||
|
||||
def setup(helper, old_version=None):
|
||||
|
||||
Reference in new issue
Block a user