diff options
author | Simon Rettberg | 2018-04-25 17:02:31 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-04-25 17:02:31 +0200 |
commit | 936e8e78b97ec92277f315db4e5052ee9f992848 (patch) | |
tree | 7971710a2b2aacd938cb659eca76262b7eb8e05f /modules-available | |
parent | [rebootcontrol] Fix NO_SUCH_INSTANCE handling (diff) | |
download | slx-admin-936e8e78b97ec92277f315db4e5052ee9f992848.tar.gz slx-admin-936e8e78b97ec92277f315db4e5052ee9f992848.tar.xz slx-admin-936e8e78b97ec92277f315db4e5052ee9f992848.zip |
[locationinfo] Don't pad with ... but ' '
Diffstat (limited to 'modules-available')
-rw-r--r-- | modules-available/locationinfo/page.inc.php | 4 |
1 files 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']]); |