2014-11-11 19:06:47 +01:00

16 lines
416 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'), 'glyphicon-cog', 'system:index', 100)
def index(request):
"""Serve the index page"""
return TemplateResponse(request, 'system.html',
{'title': _('System Configuration')})