diff options
author | Simon Rettberg | 2020-09-21 11:30:14 +0200 |
---|---|---|
committer | Simon Rettberg | 2020-09-21 11:30:14 +0200 |
commit | e12a02856e49ce3f18bc49080dd442bed06e868e (patch) | |
tree | 145a91681a770dbfa7a77bc052e39f108c5da7b1 /modules-available/statistics/templates | |
parent | [Module] Add phpdoc (diff) | |
download | slx-admin-e12a02856e49ce3f18bc49080dd442bed06e868e.tar.gz slx-admin-e12a02856e49ce3f18bc49080dd442bed06e868e.tar.xz slx-admin-e12a02856e49ce3f18bc49080dd442bed06e868e.zip |
[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.
Diffstat (limited to 'modules-available/statistics/templates')
-rw-r--r-- | modules-available/statistics/templates/clientlist.html | 10 |
1 files changed, 9 insertions, 1 deletions
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}} <div class="small uuid">{{machineuuid}}</div> {{#rmmodule}} - <div class="small">{{lang_runMode}}: + <div class="small">{{lang_configuredRunMode}}: <a class="slx-bold" href="?do=runmode&module={{rmmodule}}">{{moduleName}}</a> / {{modeName}} </div> {{/rmmodule}} + {{#wrongRunMode}} + <div class="small text-danger"> + {{lang_clientInDifferentRunmode}}: {{currentrunmode}} + {{^currentrunmode}} + {{lang_bootedWithoutAnyRunmode}} + {{/currentrunmode}} + </div> + {{/wrongRunMode}} {{#currentuser}} <div class="small"> {{lang_user}}: |