From 51c1c97fe262630c37c89579727512bbc52f1249 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 26 Nov 2021 11:40:48 +0100 Subject: mod_admin_shell: Reduce width of 'Status' column 'unavailable' was the longest possibility, dropping it probably differentiates available from unavailable more, in less space. --- plugins/mod_admin_shell.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/mod_admin_shell.lua b/plugins/mod_admin_shell.lua index 75e36e0e..83891c04 100644 --- a/plugins/mod_admin_shell.lua +++ b/plugins/mod_admin_shell.lua @@ -716,11 +716,11 @@ local available_columns = { ip = { title = "IP address"; width = 40; key = "ip" }; status = { title = "Status"; - width = 11; + width = 6; key = "presence"; mapper = function(p) - if not p then return "unavailable"; end - return p:get_child_text("show") or "available"; + if not p then return ""; end + return p:get_child_text("show") or "online"; end; }; secure = { -- cgit v1.2.3