# HG changeset patch # User Kim Alvefur # Date 1637923248 -3600 # Node ID c0a01e5f5656f988e20388fbc6cee190408fdd54 # Parent 142b9c4010fed212500cc41e9e503fc002b18678 mod_admin_shell: Reduce width of 'Status' column 'unavailable' was the longest possibility, dropping it probably differentiates available from unavailable more, in less space. diff -r 142b9c4010fe -r c0a01e5f5656 plugins/mod_admin_shell.lua --- a/plugins/mod_admin_shell.lua Fri Nov 26 11:39:13 2021 +0100 +++ b/plugins/mod_admin_shell.lua Fri Nov 26 11:40:48 2021 +0100 @@ -716,11 +716,11 @@ 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 = {