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:
Prachi authored and Joseph Nuthalpati committed 2017-08-21 11:17:08 +05:30
1 parent f75f9dbab9
commit c8eb714562
60 files changed
+238 -173

No files matched your search

+5 -3
View File
@@ -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)
+1 -1
View File
@@ -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})