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
@@ -29,7 +29,7 @@ version = 1
|
||||
|
||||
is_essential = True
|
||||
|
||||
title = _('Diagnostics')
|
||||
name = _('Diagnostics')
|
||||
|
||||
description = [
|
||||
_('The system diagnostic test will run a number of checks on your '
|
||||
@@ -41,7 +41,7 @@ description = [
|
||||
def init():
|
||||
"""Initialize the module"""
|
||||
menu = main_menu.get('system')
|
||||
menu.add_urlname(title, 'glyphicon-screenshot', 'diagnostics:index')
|
||||
menu.add_urlname(name, 'glyphicon-screenshot', 'diagnostics:index')
|
||||
|
||||
|
||||
def diagnose():
|
||||
|
||||
@@ -44,7 +44,7 @@ def index(request):
|
||||
_start_task()
|
||||
|
||||
return TemplateResponse(request, 'diagnostics.html',
|
||||
{'title': diagnostics.title,
|
||||
{'title': diagnostics.name,
|
||||
'description': diagnostics.description,
|
||||
'is_running': _running_task is not None,
|
||||
'results': current_results})
|
||||
|
||||
Reference in new issue
Block a user