mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-06-03 10:50:20 +00:00
Remove Privacy stubs
This commit is contained in:
parent
1625a99cc2
commit
de250e5e63
@ -12,17 +12,8 @@ class Privacy(PagePlugin):
|
||||
PagePlugin.__init__(self, *args, **kwargs)
|
||||
self.register_page("privacy")
|
||||
self.menu = cfg.main_menu.add_item("Privacy", "icon-eye-open", "/privacy", 12)
|
||||
self.menu.add_item("General Config", "icon-asterisk", "/privacy/config", 10)
|
||||
self.menu.add_item("Ad Blocking", "icon-ban-circle", "/privacy/adblock", 20)
|
||||
self.menu.add_item("HTTPS Everywhere", "icon-lock", "/privacy/https_everywhere", 30)
|
||||
|
||||
@cherrypy.expose
|
||||
def index(self):
|
||||
#raise cherrypy.InternalRedirect('/privacy/config')
|
||||
return self.config()
|
||||
|
||||
@cherrypy.expose
|
||||
@require()
|
||||
def config(self):
|
||||
return util.render_template(template='privacy_config',
|
||||
title=_('Privacy Control Panel'))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user