mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
dynamicdns: Move app to system configuration
This app rightfully belongs in system configuration section instead of the application section. It is setup once and not used regularly. It is not service but enabler for other services. Closes: #441.
This commit is contained in:
parent
7470f64d06
commit
fbb2f4c3df
@ -26,7 +26,7 @@ from plinth.utils import format_lazy
|
||||
|
||||
version = 1
|
||||
|
||||
depends = ['apps']
|
||||
depends = ['system']
|
||||
|
||||
title = _('Dynamic DNS Client')
|
||||
|
||||
@ -51,7 +51,7 @@ description = [
|
||||
|
||||
def init():
|
||||
"""Initialize the module."""
|
||||
menu = cfg.main_menu.get('apps:index')
|
||||
menu = cfg.main_menu.get('system:index')
|
||||
menu.add_urlname(title, 'glyphicon-refresh', 'dynamicdns:index')
|
||||
|
||||
|
||||
|
||||
@ -25,7 +25,7 @@ from . import dynamicdns as views
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^apps/dynamicdns/$', views.index, name='index'),
|
||||
url(r'^apps/dynamicdns/configure/$', views.configure, name='configure'),
|
||||
url(r'^apps/dynamicdns/statuspage/$', views.statuspage, name='statuspage'),
|
||||
url(r'^sys/dynamicdns/$', views.index, name='index'),
|
||||
url(r'^sys/dynamicdns/configure/$', views.configure, name='configure'),
|
||||
url(r'^sys/dynamicdns/statuspage/$', views.statuspage, name='statuspage'),
|
||||
]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user