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
@@ -37,7 +37,9 @@ depends = ['names']
|
||||
|
||||
managed_packages = ['certbot']
|
||||
|
||||
title = _('Certificates (Let\'s Encrypt)')
|
||||
name = _('Let\'s Encrypt')
|
||||
|
||||
short_description = _('Certificates')
|
||||
|
||||
description = [
|
||||
format_lazy(
|
||||
@@ -62,8 +64,8 @@ service = None
|
||||
def init():
|
||||
"""Intialize the module."""
|
||||
menu = main_menu.get('system')
|
||||
menu.add_urlname(_('Certificates (Let\'s Encrypt)'),
|
||||
'glyphicon-lock', 'letsencrypt:index')
|
||||
menu.add_urlname(name,
|
||||
'glyphicon-lock', 'letsencrypt:index', short_description)
|
||||
domainname_change.connect(on_domainname_change)
|
||||
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ def index(request):
|
||||
status = get_status()
|
||||
|
||||
return TemplateResponse(request, 'letsencrypt.html',
|
||||
{'title': letsencrypt.title,
|
||||
{'title': letsencrypt.name,
|
||||
'description': letsencrypt.description,
|
||||
'status': status})
|
||||
|
||||
|
||||
Reference in new issue
Block a user