From 936e8e78b97ec92277f315db4e5052ee9f992848 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 25 Apr 2018 17:02:31 +0200 Subject: [locationinfo] Don't pad with ... but ' ' --- modules-available/locationinfo/page.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules-available/locationinfo/page.inc.php b/modules-available/locationinfo/page.inc.php index 2c24fbce..3ff80927 100644 --- a/modules-available/locationinfo/page.inc.php +++ b/modules-available/locationinfo/page.inc.php @@ -604,8 +604,8 @@ class Page_LocationInfo extends Page $row['locations'] = implode(', ', $locs); } $len = mb_strlen($row['panelname']); - if ($len < 5) { - $row['panelname'] .= str_repeat('…', 5 - $len); + if ($len < 3) { + $row['panelname'] .= str_repeat(' ', 3 - $len); } if ($hasRunmode && isset($runmodes[$row['paneluuid']])) { $row['assignedMachineCount'] = count($runmodes[$row['paneluuid']]); -- cgit v1.2.3-55-g7522