mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
15 lines
377 B
Python
15 lines
377 B
Python
from django.template.response import TemplateResponse
|
|
from gettext import gettext as _
|
|
|
|
from plinth import cfg
|
|
|
|
|
|
def init():
|
|
"""Initailize the apps module"""
|
|
cfg.main_menu.add_urlname("Apps", "icon-download-alt", "apps:index", 80)
|
|
|
|
|
|
def index(request):
|
|
"""Serve the apps index page"""
|
|
return TemplateResponse(request, 'apps.html', {'title': _('Applications')})
|