From df00dc2f64460afa7f49363ec1b5d0299b50f204 Mon Sep 17 00:00:00 2001 From: Nicolargo Date: Mon, 29 Dec 2014 23:11:42 +0100 Subject: [PATCH] Correct issue on Web interface (process name not displayed) (issue #462) --- glances/core/glances_main.py | 1 + glances/outputs/bottle/plugin_table.tpl | 14 +++----------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/glances/core/glances_main.py b/glances/core/glances_main.py index 759ca4d1..cf99b073 100644 --- a/glances/core/glances_main.py +++ b/glances/core/glances_main.py @@ -176,6 +176,7 @@ class GlancesMain(object): # In web server mode, defaul refresh time: 5 sec if args.webserver: args.time = 5 + args.process_short_name = True # Server or client login/password args.username = self.username diff --git a/glances/outputs/bottle/plugin_table.tpl b/glances/outputs/bottle/plugin_table.tpl index e49bc368..f98e5497 100644 --- a/glances/outputs/bottle/plugin_table.tpl +++ b/glances/outputs/bottle/plugin_table.tpl @@ -9,17 +9,9 @@ % else: % if stats['display']: - % if plugin_name == 'processlist': - % if not msg['splittable'] or msg['splittable'] and msg['decoration'] == 'PROCESS': - - {{ msg['msg'] }} - - % end - % else: - - {{ msg['msg'] }} - - % end + + {{ msg['msg'] }} + % end % end % end