mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
16 lines
411 B
Python
16 lines
411 B
Python
from gettext import gettext as _
|
|
from django.template.response import TemplateResponse
|
|
|
|
from plinth import cfg
|
|
|
|
|
|
def init():
|
|
"""Initialize the system module"""
|
|
cfg.main_menu.add_urlname(_('System'), 'icon-cog', 'system:index', 100)
|
|
|
|
|
|
def index(request):
|
|
"""Serve the index page"""
|
|
return TemplateResponse(request, 'system.html',
|
|
{'title': _('System Configuration')})
|