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:
Sunil Mohan Adapa 2016-06-04 08:27:26 +05:30 committed by James Valleroy
parent 7470f64d06
commit fbb2f4c3df
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808
2 changed files with 5 additions and 5 deletions

View File

@ -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')

View File

@ -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'),
]