From e12a02856e49ce3f18bc49080dd442bed06e868e Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 21 Sep 2020 11:30:14 +0200 Subject: [statistics] Show if current runmode is different from configured one This isn't accounting for fake runmodes like "remoteaccess" or "exams", which aren't stored in the database, but actually, this might be beneficial, as you want to actually see if the clients are in this mode. --- modules-available/statistics/templates/clientlist.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'modules-available/statistics/templates/clientlist.html') diff --git a/modules-available/statistics/templates/clientlist.html b/modules-available/statistics/templates/clientlist.html index 3d49a770..aeca368d 100644 --- a/modules-available/statistics/templates/clientlist.html +++ b/modules-available/statistics/templates/clientlist.html @@ -98,10 +98,18 @@ {{/link_details}}
{{machineuuid}}
{{#rmmodule}} -
{{lang_runMode}}: +
{{lang_configuredRunMode}}: {{moduleName}} / {{modeName}}
{{/rmmodule}} + {{#wrongRunMode}} +
+ {{lang_clientInDifferentRunmode}}: {{currentrunmode}} + {{^currentrunmode}} + {{lang_bootedWithoutAnyRunmode}} + {{/currentrunmode}} +
+ {{/wrongRunMode}} {{#currentuser}}
{{lang_user}}: -- cgit v1.2.3-55-g7522