mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Separate out the short description and app name
Signed-off-by: Prachi <prachi@swecha.net> Reviewed-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
This commit is contained in:
1 parent
f75f9dbab9
commit
c8eb714562
60 files changed
+238
-173
No files matched your search
@@ -32,7 +32,7 @@ version = 1
|
||||
|
||||
managed_packages = ['ez-ipupdate']
|
||||
|
||||
title = _('Dynamic DNS Client')
|
||||
name = _('Dynamic DNS Client')
|
||||
|
||||
description = [
|
||||
format_lazy(
|
||||
@@ -57,7 +57,7 @@ reserved_usernames = ['ez-ipupd']
|
||||
def init():
|
||||
"""Initialize the module."""
|
||||
menu = main_menu.get('system')
|
||||
menu.add_urlname(title, 'glyphicon-refresh', 'dynamicdns:index')
|
||||
menu.add_urlname(name, 'glyphicon-refresh', 'dynamicdns:index')
|
||||
current_status = dynamicdns.get_status()
|
||||
if current_status['enabled']:
|
||||
services = dynamicdns.get_enabled_services(current_status['dynamicdns_domain'])
|
||||
|
||||
@@ -50,7 +50,7 @@ subsubmenu = [{'url': reverse_lazy('dynamicdns:index'),
|
||||
def index(request):
|
||||
"""Serve Dynamic DNS page."""
|
||||
return TemplateResponse(request, 'dynamicdns.html',
|
||||
{'title': dynamicdns.title,
|
||||
{'title': dynamicdns.name,
|
||||
'description': dynamicdns.description,
|
||||
'subsubmenu': subsubmenu})
|
||||
|
||||
|
||||
Reference in new issue
Block a user