summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2018-04-25 17:02:31 +0200
committerSimon Rettberg2018-04-25 17:02:31 +0200
commit936e8e78b97ec92277f315db4e5052ee9f992848 (patch)
tree7971710a2b2aacd938cb659eca76262b7eb8e05f
parent[rebootcontrol] Fix NO_SUCH_INSTANCE handling (diff)
downloadslx-admin-936e8e78b97ec92277f315db4e5052ee9f992848.tar.gz
slx-admin-936e8e78b97ec92277f315db4e5052ee9f992848.tar.xz
slx-admin-936e8e78b97ec92277f315db4e5052ee9f992848.zip
[locationinfo] Don't pad with ... but ' '
-rw-r--r--modules-available/locationinfo/page.inc.php4
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']]);