mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-15 09:51:21 +00:00
pagekite: 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.
This commit is contained in:
parent
fbb2f4c3df
commit
5a0e2c0b91
@ -26,14 +26,14 @@ from . import utils
|
||||
|
||||
version = 1
|
||||
|
||||
depends = ['apps', 'names']
|
||||
depends = ['system', 'names']
|
||||
|
||||
title = _('Public Visibility (PageKite)')
|
||||
|
||||
|
||||
def init():
|
||||
"""Intialize the PageKite module"""
|
||||
menu = cfg.main_menu.get('apps:index')
|
||||
menu = cfg.main_menu.get('system:index')
|
||||
menu.add_urlname(title, 'glyphicon-flag', 'pagekite:index')
|
||||
|
||||
# Register kite name with Name Services module.
|
||||
|
||||
@ -26,13 +26,13 @@ from .views import StandardServiceView, CustomServiceView, ConfigurationView, \
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
url(r'^apps/pagekite/$', index, name='index'),
|
||||
url(r'^apps/pagekite/configure/$', ConfigurationView.as_view(),
|
||||
url(r'^sys/pagekite/$', index, name='index'),
|
||||
url(r'^sys/pagekite/configure/$', ConfigurationView.as_view(),
|
||||
name='configure'),
|
||||
url(r'^apps/pagekite/services/standard$', StandardServiceView.as_view(),
|
||||
url(r'^sys/pagekite/services/standard$', StandardServiceView.as_view(),
|
||||
name='standard-services'),
|
||||
url(r'^apps/pagekite/services/custom$', CustomServiceView.as_view(),
|
||||
url(r'^sys/pagekite/services/custom$', CustomServiceView.as_view(),
|
||||
name='custom-services'),
|
||||
url(r'^apps/pagekite/services/custom/delete$', DeleteServiceView.as_view(),
|
||||
url(r'^sys/pagekite/services/custom/delete$', DeleteServiceView.as_view(),
|
||||
name='delete-custom-service'),
|
||||
]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user